/* Inner pages: the home page's look (style.css), with a layout of its own for each page */
.page-hero { min-height: 0; display: block; padding: calc(var(--nav-h) + clamp(2.5rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5.5rem); }
.crumbs { gap: .6rem; }
.crumbs a { color: var(--sky-200); } .crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs > span[aria-hidden] { opacity: .5; }

/* ---------- About ---------- */
.ab-hero { text-align: center; padding-bottom: clamp(13rem, 25vw, 23rem); }
.ab-top { display: flex; flex-direction: column; align-items: center; }
.ab-top .hero-title { max-width: 16ch; font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.8rem); text-wrap: balance; }
.ab-top .hero-ctas { justify-content: center; }
.ab-pano { position: relative; z-index: 2; margin-top: calc(clamp(10.5rem, 22vw, 20rem) * -1); }
.ab-pano .ph-photo { aspect-ratio: 2.25; border-radius: 2rem; overflow: hidden; background: var(--sky-200); }
.ab-pano .ph-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.ab-how { text-align: center; }
.ab-how h2 { max-width: 20ch; margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); text-wrap: balance; }
.ab-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.ab-approach-photo { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; margin-bottom: 1.25rem; border-radius: var(--radius); }
.ab-cols h3 { margin-bottom: .6rem; }
.ab-cols p { color: var(--text-2); max-width: 34ch; margin-inline: auto; }
.ab-trainer { background: var(--sky-50); scroll-margin-top: 0; }
.ab-profile { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.ab-portrait { aspect-ratio: 4 / 5; border-radius: 2rem; }
.ab-bio h2 { margin-bottom: 1rem; }
.ab-dl { margin-top: 2rem; }
.ab-dl > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.5rem; padding: 1.2rem 0; border-top: 1px solid #D5E1EC; }
.ab-dl dt { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.ab-dl dd { color: var(--text-2); margin: 0; max-width: 54ch; }
.end-band { margin-top: 0; padding: clamp(4.5rem, 9vw, 8rem) 0; text-align: center; color: #fff; background: linear-gradient(155deg, #07224A 0%, #074E8C 45%, #0284C7 100%); }
.end-band h2 { color: #fff; max-width: 18ch; margin: 0 auto 1rem; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); }
.end-band p { max-width: 52ch; margin: 0 auto 2rem; font-size: var(--fs-lead); color: rgba(255,255,255,.88); }
.end-band .hero-ctas { justify-content: center; }
.inner main:has(> .end-band:last-child) + .site-footer, .inner main:has(.uc-hero) + .site-footer, .inner main:has(.ct-hero) + .site-footer { margin-top: 0; }

/* ---------- Programmes ---------- */
.cat-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
.cat-top .hero-sub { margin-bottom: 0; }
.cat-search label { display: block; margin-bottom: .7rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: #fff; }
.cat-search > div { position: relative; }
.cat-search svg { position: absolute; left: 1.3rem; top: 50%; width: 1.4rem; height: 1.4rem; margin-top: -.7rem; color: var(--blue); stroke-width: 2.2; }
.cat-search input { width: 100%; height: 66px; padding: 0 1.4rem 0 3.6rem; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 500 1.06rem var(--font-body); box-shadow: 0 24px 50px -24px rgba(3,20,46,.7); }
.cat-search input::placeholder { color: #64748B; opacity: 1; }
.cat-search input:focus-visible { outline: 3px solid #FCD34D; outline-offset: 3px; border-radius: 999px; }
.cat-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cat-side { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.cat-side nav a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 1.1rem; border-radius: .95rem; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: var(--text-2); transition: background-color .3s, color .3s; }
.cat-side nav a small { min-width: 1.9rem; padding: .1rem .4rem; border-radius: 999px; text-align: center; font-size: .85rem; background: var(--sky-50); color: var(--text-2); }
.cat-side nav a:hover { background: var(--sky-50); color: var(--ink); }
.cat-side nav a[aria-current] { background: var(--sky-100); color: var(--blue-deep); font-weight: 600; }
.cat-side nav a[aria-current] small { background: var(--amber); color: #1f1300; }
.cat-side .is-empty { opacity: .4; }
.cat-side .link-arrow { margin: 1.2rem 0 0 1.1rem; min-height: 44px; }
.cat-main h2 { margin-bottom: .6rem; }
.cat-status { font-family: var(--font-head); font-weight: 600; color: var(--blue-deep); min-height: 1.7em; margin-top: .6rem; }
.cat-s { scroll-margin-top: calc(var(--nav-h) + 1.25rem); margin-top: clamp(2rem, 4vw, 3.25rem); }
.cat-s[hidden], .cat-cards li[hidden] { display: none; }
.cat-banner { position: relative; display: flex; align-items: flex-end; height: clamp(220px, 24vw, 300px); border-radius: 1.9rem; overflow: hidden; isolation: isolate; background: linear-gradient(130deg, #0EA5E9, var(--blue) 50%, #07335F); }
.cat-banner img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.cat-banner:has(img)::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5,32,70,.92) 0%, rgba(5,32,70,.72) 34%, rgba(5,32,70,0) 72%); }
.cat-banner > div { padding: clamp(1.4rem, 3vw, 2.4rem); max-width: 24rem; }
.cat-banner p { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: #FCD34D; margin-bottom: .25rem; }
.cat-banner h3 { color: #fff; font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem); line-height: 1.18; letter-spacing: -.02em; }
.cat-plain { height: 190px; }
.cat-desc { margin: 1.25rem 0 1rem; font-size: var(--fs-lead); color: var(--text-2); }
.cat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cat-cards a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem 1rem; height: 100%; padding: 1.15rem 1.2rem 1.15rem 1.4rem; border-radius: 1.3rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s, transform .4s var(--ease); }
.cat-cards span { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; line-height: 1.35; color: var(--ink); }
.cat-cards small { font-size: .92rem; color: var(--blue-deep); }
.cat-cards i { grid-row: span 2; grid-column: 2; grid-row-start: 1; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sky-100); color: var(--blue-deep); transition: background-color .3s, color .3s, transform .5s var(--ease-spring); }
.cat-cards i svg { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; }
.cat-cards a:hover { box-shadow: inset 0 0 0 1.5px var(--sky-400), var(--shadow-md); transform: translateY(-3px); }
.cat-cards a:hover i { background: var(--blue); color: #fff; transform: rotate(45deg); }
.end-bar { padding-top: 0; }
.end-bar .container > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: 2rem; color: #fff; background: linear-gradient(120deg, #07224A, #0369A1 70%, #0284C7); }
.end-bar h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); max-width: 20ch; margin-bottom: .6rem; }
.end-bar p { color: rgba(255,255,255,.88); max-width: 52ch; }

/* ---------- Customisation ---------- */
.cz-hero .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.cz-stack { position: relative; aspect-ratio: 1.12; }
.cz-stack img { position: absolute; width: 56%; aspect-ratio: 1.25; height: auto; object-fit: cover; border-radius: 1.5rem; border: 6px solid #fff; box-shadow: 0 30px 60px -28px rgba(3,20,46,.8); animation: czFloat 7s ease-in-out infinite; }
.cz-stack img:nth-child(1) { right: 0; top: 0; rotate: 5deg; }
.cz-stack img:nth-child(2) { left: 0; top: 16%; rotate: -6deg; animation-delay: -2.4s; }
.cz-stack img:nth-child(3) { width: 66%; right: 8%; bottom: 2%; rotate: 1.5deg; animation-delay: -4.6s; }
@keyframes czFloat { 50% { transform: translateY(-9px); } }
.cz { padding-bottom: clamp(2rem, 4vw, 4rem); }
.cz-scroll { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); }
.cz-stage { position: sticky; top: calc(var(--nav-h) + 1.5rem); height: min(640px, calc(100vh - var(--nav-h) - 3.5rem)); display: grid; grid-template-rows: 1fr auto; gap: 1.1rem; }
.cz-frame { position: relative; min-height: 0; border-radius: 2rem; overflow: hidden; background: var(--sky-100); }
.cz-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path .9s var(--ease), transform 1.4s var(--ease); }
.cz-frame img.is-on { clip-path: inset(0); transform: none; z-index: 1; }
.cz-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.cz-prog i { height: 5px; border-radius: 5px; background: var(--sky-100); overflow: hidden; }
.cz-prog i::after { content: ""; display: block; height: 100%; border-radius: 5px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.cz-prog i.is-on::after { transform: none; }
.cz-step { min-height: min(560px, 70vh); display: flex; flex-direction: column; justify-content: center; }
.cz-step > h3 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 1rem; max-width: 14ch; }
.cz-step > p { font-size: var(--fs-lead); color: var(--text-2); max-width: 44ch; }
.cz-step > h3, .cz-step > p { transition: opacity .6s var(--ease), color .6s; }
@media (min-width: 1001px) { .js .cz-step:not(.is-active) > h3, .js .cz-step:not(.is-active) > p { opacity: .45; } .cz-inline { display: none; } }
.cz-brief { padding: clamp(4rem, 8vw, 7rem) 0; color: #fff; background: linear-gradient(155deg, #07224A 0%, #074E8C 45%, #0284C7 100%); overflow: hidden; }
.cz-brief .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cz-brief h2 { color: #fff; margin-bottom: 1rem; } .cz-brief .lead { color: rgba(255,255,255,.88); } .cz-brief .sec-label { color: #FCD34D; }
.cz-paper { padding: clamp(1.6rem, 3.5vw, 2.75rem); border-radius: 2rem; background: #fff; color: var(--ink); box-shadow: 0 50px 90px -40px rgba(3,20,46,.8); }
.cz-count { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; margin-bottom: .75rem; color: var(--blue-deep); }
.cz-paper label { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px dashed #C6D6E6; font-weight: 500; line-height: 1.4; cursor: pointer; }
.cz-paper input { position: absolute; opacity: 0; width: 2rem; height: 2rem; cursor: pointer; }
.cz-box { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .7rem; box-shadow: inset 0 0 0 2px #94A9BF; transition: background-color .25s, box-shadow .25s; }
.cz-box svg { width: 1.2rem; height: 1.2rem; color: #1f1300; stroke-width: 3; transform: scale(0); transition: transform .4s var(--ease-spring); }
.cz-paper input:checked + .cz-box { background: var(--amber); box-shadow: none; } .cz-paper input:checked + .cz-box svg { transform: none; }
.cz-paper input:focus-visible + .cz-box { outline: 3px solid var(--blue); outline-offset: 3px; }
.cz-paper label:hover .cz-box { box-shadow: inset 0 0 0 2px var(--blue); }
.cz-paper .btn { margin-top: 1.6rem; }
.cz-end { text-align: center; padding-bottom: 0; }
.cz-end h2 { max-width: 18ch; margin: 0 auto 1rem; } .cz-end .lead { margin: 0 auto 1.8rem; }

/* ---------- Contact ---------- */
.ct-hero { padding-bottom: clamp(3rem, 6vw, 6rem); }
.ct-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.ct-left h2 { color: #fff; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .4rem; }
.ct-note { color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: 1.1rem; }
.ct-ways { display: grid; gap: .6rem; }
.ct-ways a { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.1rem; border-radius: 1.3rem; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: background-color .3s, transform .4s var(--ease); }
.ct-ways a:hover { background: rgba(255,255,255,.2); transform: translateX(6px); }
.ct-ic { flex: none; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: #fff; color: var(--blue-deep); }
.ct-ic svg { width: 1.25rem; height: 1.25rem; }
.ct-ways small { display: block; font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.3; }
.ct-ways b { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; overflow-wrap: anywhere; }
.enquiry-panel h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 600; letter-spacing: -.02em; margin-bottom: .4rem; }
.enquiry-panel { padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: 2rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 50px 90px -40px rgba(3,20,46,.8); color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 1rem); }
.enquiry-panel h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-bottom: .4rem; }
.enquiry-panel > p { color: var(--text-2); }
.enquiry-form { display: grid; gap: 1.15rem; margin-top: 1.5rem; }
.enquiry-form[hidden] { display: none; }
.enquiry-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.enquiry-form label { display: block; font-family: var(--font-head); font-size: .98rem; font-weight: 600; color: var(--ink); }
.enquiry-form label span { font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--text-2); }
.enquiry-form :is(input, select, textarea) { display: block; width: 100%; min-width: 0; min-height: 52px; margin-top: .45rem; padding: .7rem 1rem; border: 1.5px solid #B9C8D8; border-radius: 1rem; background-color: var(--sky-50); color: var(--ink); font: 400 1rem var(--font-body); transition: border-color .25s, background-color .25s, box-shadow .25s; }
.enquiry-form :is(input, select, textarea):hover { border-color: var(--sky-400); }
.enquiry-form :is(input, select, textarea):focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(56,189,248,.25); }
.enquiry-form textarea { resize: vertical; }
.enquiry-form button { justify-self: start; }
.enquiry-panel noscript a { color: var(--blue-deep); text-decoration: underline; }

/* ---------- Under construction ---------- */
.uc-hero { min-height: max(640px, 100dvh); display: flex; align-items: center; text-align: center; padding-bottom: 3rem; }
.uc-in { display: flex; flex-direction: column; align-items: center; }
.uc-art { width: min(64vw, 290px); margin-bottom: 1.6rem; }
.uc-art svg { display: block; width: 100%; height: auto; overflow: visible; stroke: none; }
.uc-ghost { animation: ucDash 2.4s linear infinite; }
.uc-dot { transform-box: fill-box; transform-origin: center; animation: ucPulse 1.8s ease-in-out infinite; }
@keyframes ucDash { to { stroke-dashoffset: -30; } }
@keyframes ucPulse { 50% { transform: scale(1.25); opacity: .7; } }
.uc-tag { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: .9rem; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: #FCD34D; }
.uc-tag .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(245,158,11,.25); }
.uc-in .hero-title { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.2rem); }
.uc-in .hero-sub { max-width: 38rem; } .uc-in .hero-ctas { justify-content: center; }

@media (max-width: 1080px) {
  .ab-dl > div { grid-template-columns: 1fr; gap: .25rem; }
  .ab-profile { align-items: start; gap: 2.5rem; }
  .cz-hero .hero-inner, .cat-top, .ct-grid, .cz-brief .container { grid-template-columns: minmax(0, 1fr); }
  .cz-stack { width: min(100%, 520px); justify-self: center; }

}
@media (max-width: 1000px) {
  .cz-scroll { grid-template-columns: minmax(0, 1fr); }
  .cz-stage { display: none; }
  .cz-step { min-height: 0; padding-bottom: 2.75rem; }
  .cz-inline { aspect-ratio: 1.5; margin-bottom: 1.4rem; border-radius: 1.6rem; overflow: hidden; background: var(--sky-100); }
  .cz-inline img { width: 100%; height: 100%; object-fit: cover; }
  .cat-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .cat-side { z-index: 5; top: 0; margin-inline: calc(var(--gutter) * -1); padding: .6rem var(--gutter); background: #fff; box-shadow: 0 1px 0 var(--line); }
  .cat-side ul { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; } .cat-side ul::-webkit-scrollbar { display: none; }
  .cat-side nav a { gap: .5rem; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; }
  .cat-side .link-arrow { display: none; }
  .cat-s { scroll-margin-top: calc(var(--nav-h) + 4.5rem); }
  .site-header:not(.is-hidden) ~ main .cat-side { top: var(--nav-h); }
}
@media (max-width: 767px) {
  .ab-pano .ph-photo { aspect-ratio: 1.35; border-radius: 1.5rem; }
  .ab-cols { grid-template-columns: 1fr; gap: 2.75rem; }
  .ab-profile { grid-template-columns: minmax(0, 1fr); } .ab-portrait { max-width: 300px; }
  .cat-cards { grid-template-columns: minmax(0, 1fr); }
  .uc-art { width: 210px; }
  .cat-banner > div { max-width: 80%; }
  .cat-banner:has(img)::after { background: linear-gradient(0deg, rgba(5,32,70,.94) 10%, rgba(5,32,70,.5) 60%, rgba(5,32,70,.1)); }
  .enquiry-field-row { grid-template-columns: minmax(0, 1fr); }
  .enquiry-form button { justify-self: stretch; justify-content: space-between; }
  .end-bar .hero-ctas { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .uc-ghost, .uc-dot, .cz-stack img { animation: none; } .cz-frame img, .cz-step > * { transition: none; } }

/* HRD Corp seal placement on inner pages */
.ab-top .reg { margin: 2.25rem 0 0; }
.cat-top .reg { margin: 1.75rem 0 0; }
.ct-reg { margin: 1.25rem 0 0; }
.uc-seal img { display: block; width: 100%; height: auto; border-radius: 50%; box-shadow: 0 40px 70px -30px rgba(3,20,46,.75); }
.uc-seal { width: min(56vw, 240px); }

/* ---------- Spec content (Dec 2026) ---------- */
.ic { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--sky-100); color: var(--blue-deep); }
.ic svg { width: 1.45rem; height: 1.45rem; }
.footer-privacy { color: inherit; opacity: .85; text-decoration: underline; text-underline-offset: 3px; }
.footer-privacy:hover { opacity: 1; }
.motto { margin: -1.2rem 0 2rem; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: .02em; color: #FCD34D; }
.anchor { position: relative; top: calc((var(--nav-h) + 1.25rem) * -1); display: block; }

/* About: vision + values */
.ab-vision { text-align: center; }
.ab-vision .sec-meta { justify-content: center; }
.ab-vq p { max-width: 30ch; margin: 0 auto; font-family: var(--font-head); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.25; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.ab-vq em { font-style: normal; color: var(--blue); }
.ab-motto { margin-top: 1.6rem; font-family: var(--font-head); font-weight: 600; color: var(--blue-deep); }
.ab-values { padding-top: 0; }
.vl-grid, .bn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.vl-grid li, .bn-grid li { padding: 1.6rem; border-radius: 1.5rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.vl-grid h3, .bn-grid h3 { margin: 1.1rem 0 .4rem; }
.vl-grid p, .bn-grid p { color: var(--text-2); }
.ab-philo { margin: 1.75rem 0 0; padding: 1.4rem 1.6rem; border-radius: 1.4rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-left: 4px solid var(--amber); }
.ab-philo p { color: var(--ink); }
.ab-philo figcaption { margin-top: .75rem; font-size: .95rem; color: var(--text-2); }
.ab-philo b { color: var(--blue-deep); }
.ab-portrait:not(:has(img)) { background: linear-gradient(150deg, var(--sky-100), var(--sky-200)); }

/* Customisation: six-phase tabs, Kolb cycle, benefits */
.pf-flow { margin-top: clamp(2rem, 4vw, 3rem); }
.pf-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1.25rem; counter-reset: none; }
.pf-tabs button { position: relative; width: 100%; height: 100%; padding: .9rem 1rem; border: 0; border-radius: 1.1rem; background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: background-color .3s, box-shadow .3s, color .3s; }
.pf-tabs button small { display: block; font-size: .85rem; color: var(--text-2); }
.pf-tabs button b { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.pf-tabs button:hover { box-shadow: inset 0 0 0 1.5px var(--sky-400); }
.pf-tabs button[aria-selected="true"] { background: var(--blue-deep); color: #fff; box-shadow: none; }
.pf-tabs button[aria-selected="true"] small { color: rgba(255,255,255,.8); }
.pf-tabs button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.pf-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1rem, 2vw, 1.5rem); border-radius: 2rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.js .pf-panel[data-hide] { display: none; }
.pf-panel:not(:first-of-type) { margin-top: 1rem; } .js .pf-panel { margin-top: 0; }
.pf-media { aspect-ratio: 4 / 3; border-radius: 1.5rem; overflow: hidden; background: var(--sky-100); }
.pf-media img { width: 100%; height: 100%; object-fit: cover; }
.pf-tag { font-family: var(--font-head); font-weight: 600; color: var(--blue-deep); margin-bottom: .35rem; }
.pf-copy h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 1.1rem; }
.pf-copy ul { display: grid; gap: .9rem; }
.pf-copy li { padding-left: 1.1rem; border-left: 3px solid var(--sky-200); }
.pf-copy li b { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.pf-copy li span { color: var(--text-2); }
.pf-note { display: flex; gap: 1.1rem; align-items: flex-start; margin-top: 1.5rem; padding: 1.4rem 1.6rem; border-radius: 1.5rem; background: #FFF8E6; box-shadow: inset 0 0 0 1px #F7DFA2; }
.pf-note .ic { background: #fff; color: #9A6200; }
.pf-note p { color: var(--ink); max-width: 80ch; }
.kb { background: var(--sky-50); }
.kb-cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.kb-cycle li { position: relative; padding: 1.6rem; border-radius: 1.5rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.kb-cycle li:not(:last-child)::after { content: "→"; position: absolute; right: -.85rem; top: 1.9rem; z-index: 1; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--blue); color: #fff; font-size: .9rem; }
.kb-n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--sky-100); color: var(--blue-deep); font-family: var(--font-head); font-weight: 600; }
.kb-cycle h3 { margin: 1rem 0 .4rem; }
.kb-cycle p { color: var(--text-2); }

/* Methodology */
.mt-top .hero-title { max-width: 16ch; }
.mg-row { display: grid; grid-template-columns: 14rem 1fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-top: 1px solid var(--line); }
.mg-row:first-of-type { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.mg-h h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; letter-spacing: -.02em; }
.mg-h p { color: var(--blue-deep); font-family: var(--font-head); font-weight: 600; }
.mg-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem 2rem; }
.mg-list li { display: flex; gap: 1rem; align-items: flex-start; }
.mg-list h4 { font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-bottom: .25rem; }
.mg-list p { color: var(--text-2); }
.fm { background: var(--sky-50); }
.fm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
.fm-grid li { padding: .75rem .75rem 1.5rem; border-radius: 1.6rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.fm-img { aspect-ratio: 3 / 2; border-radius: 1.1rem; overflow: hidden; margin-bottom: 1.1rem; }
.fm-img img { width: 100%; height: 100%; object-fit: cover; }
.fm-grid h3, .fm-grid p { padding-inline: .75rem; }
.fm-grid h3 { margin-bottom: .35rem; }
.fm-grid p { color: var(--text-2); }

/* HRD Corp claim guide */
.hc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; }
.hc-seal { width: clamp(170px, 22vw, 300px); }
.hc-seal img { display: block; width: 100%; height: auto; border-radius: 50%; box-shadow: 0 40px 70px -30px rgba(3,20,46,.75); }
.hc-verify { padding-bottom: 0; }
.hc-card { padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: 2rem; background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--line); }
.hc-card h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin-bottom: 1.25rem; }
.hc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; }
.hc-facts > div { padding-top: 1rem; border-top: 1px solid #D5E1EC; }
.hc-facts dt { font-size: .95rem; color: var(--text-2); }
.hc-facts dd { margin: .2rem 0 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.hc-facts .hc-big { font-size: 1.5rem; color: var(--blue-deep); letter-spacing: .02em; }
.hc-legend { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 1.5rem 0; font-size: .95rem; color: var(--text-2); }
.hc-legend span::before { content: ""; display: inline-block; width: .8rem; height: .8rem; margin-right: .5rem; border-radius: 3px; vertical-align: -.05em; }
.hc-legend .hc-us::before { background: var(--blue); } .hc-legend .hc-you::before { background: var(--amber); }
.hc-stages { display: grid; gap: 1.25rem; }
.hc-stage { display: grid; grid-template-columns: 15rem minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; padding: 1rem; border-radius: 1.8rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.hc-sh { padding: .75rem; }
.hc-sh small { font-family: var(--font-head); font-weight: 600; color: var(--blue-deep); }
.hc-sh h3 { margin: .3rem 0 .4rem; font-size: 1.2rem; }
.hc-sh p { font-size: .95rem; color: var(--text-2); }
.hc-col { padding: 1.25rem; border-radius: 1.3rem; }
.hc-col.hc-us { background: var(--sky-50); } .hc-col.hc-you { background: #FFF8E6; }
.hc-col h4 { font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin-bottom: .75rem; color: var(--ink); }
.hc-col ul { display: grid; gap: .7rem; }
.hc-col li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text-2); }
.hc-col li svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; stroke-width: 2.4; }
.hc-col.hc-us svg { color: var(--blue); } .hc-col.hc-you svg { color: #B77900; }

/* Contact + privacy */
.btn-wa { margin-bottom: 1.25rem; background: #fff; color: var(--ink); }
.btn-wa:hover { background: var(--sky-50); }
.btn-wa svg { width: 1.3rem; height: 1.3rem; color: #087B40; }
.ct-ways li > div { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.1rem; border-radius: 1.3rem; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.ct-privacy { font-size: .92rem; color: var(--text-2); }
.ct-privacy a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; }
.pv-body { max-width: 760px; }
.pv-body h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); font-weight: 600; margin: 2rem 0 .5rem; }
.pv-body h2:first-child { margin-top: 0; }
.pv-body p { color: var(--text-2); }
.pv-body a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1100px) {
  .pf-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kb-cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-cycle li::after { display: none; }
  .hc-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hc-sh { grid-column: 1 / -1; padding-bottom: 0; }
}
@media (max-width: 900px) {
  .pf-panel { grid-template-columns: minmax(0, 1fr); }
  .mg-row { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .fm-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .hc-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pf-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-cycle, .hc-stage, .hc-facts { grid-template-columns: minmax(0, 1fr); }
  .btn-wa { width: 100%; justify-content: center; }
}
@media (max-width: 480px) { .end-band .btn, .hc-top .btn, .mt-top .btn { max-width: 100%; white-space: normal; text-align: left; line-height: 1.3; padding-block: .6rem; } }

/* Customisation: phase tabs double as the 6-phase flowchart */
.pf-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; }
.pf-tabs li { position: relative; }
.pf-tabs li:not(:nth-child(3n))::after { content: "→"; position: absolute; top: 50%; right: -1.55rem; translate: 0 -50%; color: var(--blue); font-weight: 600; font-size: 1.1rem; pointer-events: none; }
.pf-tabs button { display: flex; flex-direction: column; justify-content: flex-start; padding: 1.1rem 1.2rem; }
.pf-tabs button b { display: block; margin: .15rem 0 .35rem; line-height: 1.3; }
.pf-tabs button span { display: block; font-size: .93rem; line-height: 1.45; color: var(--text-2); }
.pf-tabs button[aria-selected="true"] span { color: rgba(255,255,255,.85); }
@media (max-width: 900px) { .pf-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .pf-tabs li::after { display: none; } .pf-tabs button span { display: none; } }
@media (max-width: 1100px) and (min-width: 901px) { .pf-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Customisation: flowchart links + full step-by-step breakdown (all six visible) */
.pf-tabs a { display: flex; flex-direction: column; height: 100%; padding: 1.1rem 1.2rem; border-radius: 1.1rem; background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: box-shadow .3s, transform .4s var(--ease); }
.pf-tabs a:hover { box-shadow: inset 0 0 0 1.5px var(--sky-400); transform: translateY(-2px); }
.pf-tabs a small { font-size: .85rem; color: var(--blue-deep); font-weight: 600; }
.pf-tabs a b { display: block; margin: .15rem 0 .35rem; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.pf-tabs a span { display: block; font-size: .93rem; line-height: 1.45; color: var(--text-2); }
.pf-bd-head { margin: clamp(3rem, 6vw, 4.5rem) 0 1.25rem; }
.pf-bd-head h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 400; letter-spacing: -.02em; }
.pf-stages { display: grid; gap: 1.25rem; }
.pf-stages .pf-panel { scroll-margin-top: calc(var(--nav-h) + 1.25rem); margin-top: 0; }
.pf-stages .pf-panel:nth-child(even) .pf-media { order: 2; }
@media (max-width: 900px) { .pf-tabs a span { display: none; } .pf-stages .pf-panel:nth-child(even) .pf-media { order: 0; } }
