/* 00-tokens.css */
/* Native design tokens (web/src/native/README.md). Use the variables, not raw values, in template CSS. */
/* Heading font: Plus Jakarta Sans (SIL OFL 1.1), self-hosted, variable 600-800. Body: Roboto (/fonts/google/roboto.css). */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/fonts/google/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(/fonts/google/plus-jakarta-sans/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* colour */
  --n-ink: #1A1E22;          /* text, borders of buttons, hard shadows */
  --n-ink-2: #3F454B;        /* body copy */
  --n-ink-3: #5F666D;        /* muted text, kickers, chevrons */
  --n-yellow: #FFDA33;       /* primary button, active bar, card hover border */
  --n-yellow-hover: #F5C400;
  --n-yellow-soft: #FFF6CC;
  --n-white: #FFFFFF;
  --n-grey: #F3F6F7;         /* band */
  --n-blue: #EBF1FB;         /* band */
  --n-hero: #DEF0F3;         /* hero band */
  --n-cream: #FFFBF5;        /* band */
  --n-line: #E3E8ED;         /* card borders, dividers */
  --n-line-2: #D5DBE1;       /* header card border */
  --n-star: #F5A623; --n-star-off: #DCDFE2;
  /* type */
  --n-font: "Roboto", Arial, sans-serif;
  --n-font-head: "Plus Jakarta Sans", "Roboto", Arial, sans-serif;
  /* shape */
  --n-r-btn: 5px; --n-r-sm: 8px; --n-r-md: 10px; --n-r-lg: 14px; --n-r-xl: 18px;
  --n-bw: 3px;                                   /* button border */
  --n-shadow: 4px 4px 0 var(--n-ink);            /* hard shadow (buttons, neo-brutal blocks) */
  /* layout */
  --n-wrap: 1140px; --n-gutter: 20px;
  --n-sec-pad: 80px;
  --n-hdr-h: 100px;                              /* fixed header height: desktop 100, tablet 84, phone 70 */
  /* motion */
  --n-dur: .2s; --n-ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 1024px) { :root { --n-hdr-h: 84px; --n-sec-pad: 64px; } }
@media (max-width: 767px) { :root { --n-hdr-h: 70px; --n-gutter: 22px; --n-sec-pad: 48px; } }

/* 01-base.css */
/* Reset, typography, layout primitives and the shared components (Button, Section, SectionHead, Card, Counter,
   Marquee, Breadcrumb, Icon, back-to-top). Native classes start with "n-"; template classes with the template name. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--n-hdr-h) + 12px); }
html.n-locked { overflow: hidden; }
body.n-body { margin: 0; background: var(--n-white); color: var(--n-ink); font: 400 16px/1.6 var(--n-font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
.n-body :where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
.n-body :where(ul[class], ol[class]) { list-style: none; padding: 0; }
.n-body img, .n-body svg, .n-body video { display: block; max-width: 100%; }
.n-body img { height: auto; }
.n-body :where(button, input, select, textarea) { font: inherit; color: inherit; }
.n-body :where(h1, h2, h3, h4) { font-family: var(--n-font-head); color: var(--n-ink); letter-spacing: -.02em; }
.n-body h1 { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.16; font-weight: 800; }
.n-body h2 { font-size: clamp(26px, 3.2vw, 32px); line-height: 1.2; font-weight: 800; }
.n-body h3 { font-size: clamp(19px, 2vw, 22px); line-height: 1.3; font-weight: 700; }
.n-body h4 { font-size: 18px; line-height: 1.35; font-weight: 700; }
.n-body p { color: var(--n-ink-2); }
/* text links in copy: dark text, yellow underline */
.n-main :where(p, li, dd) a:not([class]) { color: var(--n-ink); font-weight: 600; text-decoration: underline 2px var(--n-yellow);
  text-underline-offset: 3px; transition: text-decoration-color var(--n-dur) ease; }
.n-main :where(p, li, dd) a:not([class]):hover { text-decoration-color: var(--n-ink); }
a { color: inherit; }
::selection { background: var(--n-yellow); color: var(--n-ink); }

/* focus: one ring for everything */
.n-body :focus-visible { outline: 3px solid var(--n-ink); outline-offset: 3px; border-radius: 2px; }
.n-main:focus { outline: none; }

/* screen-reader only + skip link */
.n-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.n-skip { position: fixed; left: 12px; top: 12px; z-index: 2000; padding: 10px 16px; background: var(--n-yellow); color: var(--n-ink);
  border: var(--n-bw) solid var(--n-ink); border-radius: var(--n-r-btn); font-weight: 600; text-decoration: none; }
/* hidden (also in full-page screenshots) until it gets keyboard focus */
.n-skip:not(:focus) { width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }

/* ---------- layout ---------- */
.n-main { display: block; padding-top: var(--n-hdr-h); }
.n-wrap { width: 100%; max-width: calc(var(--n-wrap) + 2 * var(--n-gutter)); margin-inline: auto; padding-inline: var(--n-gutter); }
.n-wrap--narrow { max-width: calc(760px + 2 * var(--n-gutter)); }
.n-sec { position: relative; background: var(--n-white); padding-block: var(--n-sec-pad); }
.n-sec--pad-none { padding-block: 0; }
.n-sec--pad-sm { padding-block: calc(var(--n-sec-pad) * .6); }
.n-sec--pad-lg { padding-block: calc(var(--n-sec-pad) * 1.25); }
.n-sec--grey { background: var(--n-grey); }
.n-sec--blue { background: var(--n-blue); }
.n-sec--hero { background: var(--n-hero); }
.n-sec--cream { background: var(--n-cream); }
.n-sec--divider { border-top: 1px solid var(--n-line); }
/* the first band slides up under the fixed header */
.n-main > .n-sec--hero:first-child { margin-top: calc(-1 * var(--n-hdr-h)); padding-top: calc(var(--n-hdr-h) + var(--n-sec-pad) * .75); }
/* a light blue first band: blue (not the hero tint) when it is also a hero band; when it is not a hero band, the strip
   under the fixed header is blue too, so the white header card stands out from the page */
.n-sec--hero.n-sec--blue { background: var(--n-blue); }
.n-main:has(> .n-sec--blue:first-child) { background: linear-gradient(var(--n-blue), var(--n-blue)) top / 100% var(--n-hdr-h) no-repeat; }

/* ---------- SectionHead + kicker ---------- */
.n-kicker { display: block; font: 700 12px/1.4 var(--n-font); letter-spacing: .1em; text-transform: uppercase; color: var(--n-ink-3); }
.n-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-bottom: 36px; }
.n-head--center { margin-inline: auto; text-align: center; align-items: center; }
.n-head__intro, .n-head__intro p { font-size: 17px; line-height: 1.6; color: var(--n-ink-2); }
.n-head__intro > * + * { margin-top: 10px; }
@media (max-width: 767px) { .n-head { margin-bottom: 26px; } .n-head__intro, .n-head__intro p { font-size: 16px; } }

/* ---------- Button ---------- */
.n-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 12px 24px; font: 600 16px/1.25 var(--n-font);
  color: var(--n-ink); background: var(--n-white); border: var(--n-bw) solid var(--n-ink); border-radius: var(--n-r-btn); box-shadow: var(--n-shadow);
  text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--n-dur) ease; }
.n-btn--primary { background: var(--n-yellow); }
.n-btn--primary:hover, .n-btn--primary:focus-visible { background: var(--n-yellow-hover); color: var(--n-ink); }
.n-btn--secondary:hover, .n-btn--secondary:focus-visible { background: var(--n-grey); color: var(--n-ink); }
.n-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--n-ink); }
.n-btn--sm { padding: 10px 18px; font-weight: 500; line-height: 1; }
.n-btn--lg { padding: 10px 18px; font-size: 20px; font-weight: 500; line-height: 1; }
.n-btn--block { display: flex; width: 100%; }
.n-btn__ico { display: inline-flex; width: 1.05em; height: 1.05em; flex: none; transition: transform .25s var(--n-ease); }
.n-btn__ico svg { width: 100%; height: 100%; }
.n-btn:hover .n-btn__ico--right, .n-btn:focus-visible .n-btn__ico--right { transform: translateX(4px); }
.n-btn:hover .n-btn__ico--out, .n-btn:focus-visible .n-btn__ico--out { transform: translate(3px, -3px); }
.n-btn:hover .n-btn__ico--back, .n-btn:focus-visible .n-btn__ico--back { transform: translateX(-4px); }
.n-btn:hover .n-btn__ico--pin, .n-btn:focus-visible .n-btn__ico--pin { animation: n-pin .6s ease; }
@keyframes n-pin { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-4px); } 70% { transform: translateY(1px); } }
.n-btns { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
@media (max-width: 480px) { .n-btns > .n-btn { flex: 1 1 100%; } }

/* ---------- Card ---------- */
.n-card { display: block; background: var(--n-white); border: 1px solid var(--n-line); border-radius: var(--n-r-md); color: var(--n-ink);
  text-decoration: none; transition: border-color var(--n-dur) ease, background-color var(--n-dur) ease; }
.n-card--grey { background: var(--n-grey); }
.n-card--cream { background: var(--n-cream); }
.n-card--pad-sm { padding: 14px 16px; }
.n-card--pad-md { padding: 20px 22px; }
.n-card--pad-lg { padding: 28px 30px; }
a.n-card:hover, a.n-card:focus-visible { border-color: var(--n-yellow); color: var(--n-ink); }
@media (max-width: 767px) { .n-card--pad-lg { padding: 22px 20px; } }

/* ---------- Icon ---------- */
.n-ico { width: 24px; height: 24px; flex: none; }

/* ---------- Counter ---------- */
.n-counter { font-variant-numeric: tabular-nums; }

/* ---------- Marquee ---------- */
.n-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.n-marquee__track { display: flex; width: max-content; animation: n-marquee var(--n-marquee-dur, 40s) linear infinite; }
.n-marquee--reverse .n-marquee__track { animation-direction: reverse; }
.n-marquee:hover .n-marquee__track, .n-marquee:focus-within .n-marquee__track { animation-play-state: paused; }
.n-marquee__group { display: flex; align-items: center; gap: var(--n-marquee-gap, 24px); padding-right: var(--n-marquee-gap, 24px); margin: 0; list-style: none; }
.n-marquee__group > li { flex: none; }
@keyframes n-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Breadcrumb ---------- */
.n-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; color: var(--n-ink-3); }
.n-crumb li { display: inline-flex; align-items: center; gap: 6px; }
.n-crumb a { color: var(--n-ink-2); text-decoration: none; }
.n-crumb a:hover { color: var(--n-ink); text-decoration: underline 2px var(--n-yellow); text-underline-offset: 3px; }
.n-crumb [aria-current] { color: var(--n-ink); font-weight: 600; }
.n-crumb__sep { width: 14px; height: 14px; color: var(--n-ink-3); }

/* ---------- Back to top ---------- */
.n-totop { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 990; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center; padding: 0; border: 2px solid var(--n-ink); border-radius: 50%;
  background: var(--n-yellow); color: var(--n-ink); cursor: pointer; -webkit-tap-highlight-color: transparent;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s, background-color .15s ease; }
.n-totop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s, background-color .15s ease; }
.n-totop:hover { background: var(--n-yellow-hover); }
.n-totop:active { transform: scale(.94); }
.n-totop:focus-visible { outline: 3px solid var(--n-ink); outline-offset: 3px; }
.n-totop .n-totop__ico { width: 22px; height: 22px; position: relative; }
.n-totop .n-totop__ring { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); max-width: none; transform: rotate(-90deg); pointer-events: none; }
.n-totop__ring circle { fill: none; stroke-width: 3; }
.n-totop__track { stroke: rgba(26, 30, 34, .12); }
.n-totop__bar { stroke: var(--n-ink); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
@media (min-width: 1025px) { .n-totop { right: 28px; bottom: 28px; width: 50px; height: 50px; } }

/* ---------- reduced motion: no transitions or animations anywhere ---------- */
@media (prefers-reduced-motion: reduce) {
  .n-body *, .n-body *::before, .n-body *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .n-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .n-marquee__track { animation: none !important; }
  .n-marquee__group[aria-hidden="true"] { display: none; }
  .n-totop, .n-totop.is-on { transform: none; }
}

/* 02-header.css */
/* Floating card header (web/src/native/components/SiteHeader.astro, script scripts/10-header.js).
   Fixed at the top on every width; the page content starts below it (.n-main padding-top = --n-hdr-h), a hero band
   slides up under it. Desktop 100px (12 + 76 + 12), tablet 84px, phone 70px (6 + 58 + 6). */
.n-hdr { position: fixed; inset: 0 0 auto 0; z-index: 1000; padding: 12px 20px; pointer-events: none; }
.n-hdr__bar { position: relative; z-index: 2; pointer-events: auto; display: flex; align-items: center; max-width: 1188px; min-height: 76px; margin: 0 auto;
  padding: 6px 16px 6px 20px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border: 1px solid var(--n-line-2); border-radius: var(--n-r-xl); transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease; }
.n-hdr.is-scrolled .n-hdr__bar { box-shadow: 0 8px 28px rgba(26, 30, 34, .08); border-color: #CDD4DB; }

.n-hdr__logo { display: block; flex: none; width: 112px; margin-right: 72px; border-radius: 6px; }
.n-hdr__logo img { width: 112px; height: auto; }

.n-hdr__nav ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.n-hdr__link { position: relative; display: block; padding: 13px 20px; font: 600 16px/20px var(--n-font); color: var(--n-ink); text-decoration: none; }
.n-hdr__link::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: calc(100% - 20px); height: 2px; border-radius: 3px;
  background: var(--n-ink); opacity: .18; transform: translateX(-50%) scaleX(0); transition: transform .25s var(--n-ease); }
.n-hdr__link:hover::after, .n-hdr__link:focus-visible::after { transform: translateX(-50%) scaleX(1); }
.n-hdr__link.is-active { font-weight: 700; }
.n-hdr__link.is-active::after { height: 3px; background: var(--n-yellow-hover); opacity: 1; transform: translateX(-50%) scaleX(1); }

.n-hdr__cta { display: flex; align-items: center; gap: 20px; margin-left: auto; margin-top: -2px; }
.n-hdr__btn { line-height: 16px; }

.n-hdr__burger { display: none; position: relative; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 0 0 12px; padding: 0;
  background: transparent; border: 0; border-radius: 8px; color: #000; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.n-hdr__burger-box { position: relative; display: block; width: 24px; height: 18px; }
.n-hdr__burger-box span { position: absolute; left: 0; width: 24px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s var(--n-ease), opacity .15s ease, top .2s var(--n-ease); }
.n-hdr__burger-box span:nth-child(1) { top: 0; }
.n-hdr__burger-box span:nth-child(2) { top: 8px; }
.n-hdr__burger-box span:nth-child(3) { top: 16px; }
.n-hdr.is-open .n-hdr__burger-box span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.n-hdr.is-open .n-hdr__burger-box span:nth-child(2) { opacity: 0; }
.n-hdr.is-open .n-hdr__burger-box span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* ---------- phone/tablet menu: a white full screen under the logo row ---------- */
.n-drawer { display: none; }
@media (max-width: 1024px) {
  .n-hdr { padding: 6px 10px; transition: padding .2s ease; }
  .n-hdr__bar { min-height: 72px; padding: 4px 6px 4px 12px; border-radius: var(--n-r-lg); }
  .n-hdr__logo { position: relative; top: -3px; width: 88px; margin-right: 0; }
  .n-hdr__cta { margin-top: 0; }
  .n-hdr__logo img { width: 88px; }
  .n-hdr__nav { display: none; }
  .n-hdr__cta { gap: 12px; }
  /* the three lines end at the inner edge of the card (the 44px tap area goes 10px past it, as on the frozen site) */
  .n-hdr__burger { display: inline-flex; margin-right: -10px; }
  .n-hdr.is-open .n-hdr__bar { background: #fff; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .n-hdr.is-open .n-hdr__cta { visibility: hidden; }

  .n-drawer { display: block; position: fixed; inset: 0; z-index: 1; pointer-events: auto; overflow-y: auto; overscroll-behavior: contain;
    padding: calc(var(--n-hdr-h) + 14px) 20px 32px; background: #fff; visibility: hidden; opacity: 0; transform: translateX(16px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .n-hdr.is-open .n-drawer { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .3s var(--n-ease), visibility 0s; }
  .n-drawer__nav ul { margin: 0 0 48px; padding: 0; list-style: none; }
  .n-drawer__nav li { border-bottom: 1px solid var(--n-line); }
  .n-drawer__link { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 2px 16px 0;
    font: 600 22px/1.2 var(--n-font-head); color: var(--n-ink); text-decoration: none; }
  .n-drawer__chev { width: 18px; height: 18px; color: var(--n-ink-3); flex: none; }
  .n-drawer__link.is-active > span { position: relative; }
  .n-drawer__link.is-active > span::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 32px; height: 3px; border-radius: 3px; background: var(--n-yellow-hover); }
  .n-drawer__cta { display: flex; flex-direction: column; gap: 14px; }
  /* links and buttons come in one after another */
  .n-hdr.is-open .n-drawer__nav li, .n-hdr.is-open .n-drawer__btn { animation: n-drawer-item .32s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.04s * (var(--i, 0) + 1)); }
}
@keyframes n-drawer-item { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* below 900px "Portal Billing" leaves the bar (it stays in the menu) */
@media (max-width: 899px) { .n-hdr__btn--secondary { display: none; } }
/* phone: logo + menu button only, a lower header after scrolling */
@media (max-width: 767px) {
  .n-hdr__bar { min-height: 58px; padding: 4px 6px 4px 12px; }
  .n-hdr__cta { display: none; }
  .n-hdr__logo { top: 0; }
  .n-hdr__burger { margin-left: auto; margin-right: 15px; }
  .n-hdr.is-scrolled:not(.is-open) { padding-top: 4px; padding-bottom: 4px; }
  .n-drawer { padding-top: 94px; }
}
@media (min-width: 1025px) and (max-width: 1200px) { .n-hdr__logo { margin-right: 24px; } .n-hdr__link { padding-inline: 14px; } }
@media (prefers-reduced-motion: reduce) { .n-hdr, .n-hdr__bar, .n-drawer, .n-hdr__burger-box span { transition: none !important; } .n-hdr.is-open .n-drawer__nav li, .n-hdr.is-open .n-drawer__btn { animation: none !important; } }

/* 03-footer.css */
/* Footer (web/src/native/components/SiteFooter.astro). The awards, trust and products blocks use the lw-* classes
   of web/src/native/lib/trust-html.ts. */
.n-ftr { --lw-ink: #1A1E22; --lw-ink-2: #3F454B; --lw-ink-3: #5F666D; --lw-line: #E1E6EA; --lw-band: #F3F6F7;
  --lw-card: #FFFFFF; --lw-yellow: #FFDA33; --lw-yellow-soft: #FFF6CC; --lw-star: #F5A623; --lw-star-off: #DCDFE2;
  font-family: var(--n-font); color: var(--n-ink); text-align: left; }
.n-ftr p { color: inherit; }
.n-ftr > * { border-top: 1px solid var(--n-line); }
.n-ftr a { box-shadow: none; }
.n-ftr .lw-kicker { display: block; margin: 0; font: 600 13px/1.4 var(--n-font); letter-spacing: .08em; text-transform: uppercase; color: var(--lw-ink-3); text-align: center; }
.n-ftr h2.lw-kicker, .n-ftr h3.lw-kicker { font-family: var(--n-font-head); }
.n-ftr .lw-kicker--sm { font-size: 12px; }
.n-ftr .lw-kicker--left { text-align: left; font-size: 12px; letter-spacing: .1em; font-weight: 700; }
.n-ftr .lw-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- awards band ---------- */
.n-ftr__awards { background: var(--n-grey); padding: 10px 0; }
.n-ftr__awards-in { max-width: 1120px; margin: 0 auto; }
.lw-awards *, .lw-trust *, .lw-prods * { box-sizing: border-box; }
.lw-awards { background: var(--lw-band); margin: 0; }
.lw-wrap { max-width: 1180px; margin: 0 auto; padding: 44px 20px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.lw-marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; margin: 0; padding: 0; }
.lw-mark { flex: 0 1 252px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 20px 16px 18px; background: var(--lw-card); border: 1px solid var(--lw-line); border-radius: 10px;
  color: inherit; text-decoration: none; transition: border-color .15s ease; }
a.lw-mark:hover { border-color: var(--lw-yellow); color: inherit; }
.lw-mark__logo-box { height: 56px; width: 100%; display: flex; align-items: center; justify-content: center; }
.lw-awards .lw-mark__logo { height: auto; width: auto; max-height: 52px; max-width: min(150px, 100%); display: block; }
.lw-mark__txt { display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }
.lw-mark__txt b { font-size: 15px; font-weight: 700; color: var(--lw-ink); }
.lw-mark__txt span { font-size: 13px; color: var(--lw-ink-3); }
.lw-awards__reg { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 28px; border-top: 1px solid var(--lw-line); }
.lw-marks--reg .lw-mark { flex-basis: 252px; } /* 4 cards: one row on desktop, 2 x 2 on phones (styles/fixes/06-awards.css) */
@media (max-width: 767px) {
  .n-ftr__awards-in { margin-inline: 10px; }
  .lw-wrap { padding: 32px 16px; gap: 22px; }
  .lw-marks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .lw-mark { padding: 16px 10px 14px; gap: 10px; }
  .lw-mark__logo-box { height: 44px; }
  .lw-awards .lw-mark__logo { max-height: 40px; max-width: min(110px, 100%); }
  .lw-marks > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .lw-mark__txt b { font-size: 14px; } .lw-mark__txt span { font-size: 13.5px; }
}

/* ---------- team + Google rating ---------- */
.lw-trust { padding: 64px 0 56px; background: var(--n-blue); }
.lw-trust__grid { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); gap: 24px 56px; align-items: center; }
.lw-trust__mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); aspect-ratio: 1 / 1; gap: 8px; }
.lw-tile { display: block; overflow: hidden; border-radius: 8px; min-width: 0; background: var(--lw-band); box-shadow: 0 1px 3px rgba(26, 30, 34, .08); }
.lw-trust .lw-tile img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .lw-trust .lw-tile:hover img { transform: scale(1.08); } }
.lw-tile--1 { grid-area: 1 / 1 / 3 / 3; } .lw-tile--2 { grid-area: 1 / 3 / 2 / 4; } .lw-tile--3 { grid-area: 2 / 3 / 3 / 4; }
.lw-tile--4 { grid-area: 3 / 1 / 4 / 2; } .lw-tile--5 { grid-area: 3 / 2 / 4 / 4; }
.lw-trust__copy { min-width: 0; }
.lw-trust__copy h2 { font: 800 clamp(22px, 3.4vw, 30px)/1.2 var(--n-font-head); letter-spacing: -.02em; color: var(--lw-ink); margin: 8px 0 10px; }
.lw-trust__copy p { margin: 0 0 18px; color: var(--lw-ink-2); font-size: 15px; line-height: 1.6; max-width: 32rem; }
.lw-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lw-rows li { margin: 0; padding: 0; }
.lw-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 13px;
  border: 1px solid var(--lw-line); border-radius: 8px; background: var(--lw-card); color: var(--lw-ink); text-decoration: none;
  transition: border-color .15s ease, background .15s ease; }
.lw-row:hover { border-color: var(--lw-yellow); background: var(--lw-yellow-soft); color: var(--lw-ink); }
.lw-row__ico { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 6px;
  background: var(--lw-band); color: var(--lw-ink-2); flex: none; transition: background .15s ease; }
.lw-row:hover .lw-row__ico { background: var(--lw-card); }
.lw-row__ico svg { width: 19px; height: 19px; }
.lw-row__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.5; }
.lw-row__txt > b { font-size: 15px; font-weight: 700; color: var(--lw-ink); }
.lw-row__txt > span { font-size: 13.5px; line-height: 1.45; color: var(--lw-ink-3); overflow-wrap: anywhere; }
.lw-stars { display: flex; align-items: center; gap: 7px; }
.lw-stars svg { width: 88px; height: 18px; flex: none; }
.lw-stars b { font-size: 15px; line-height: 1; color: var(--lw-ink); white-space: nowrap; }
.lw-row__go { width: 16px; height: 16px; color: var(--lw-ink-3); flex: none; transition: transform .15s ease, color .15s ease; }
.lw-row:hover .lw-row__go { transform: translateX(2px); color: var(--lw-ink); }
/* tablet: one column (collage on top, text below), so the text column does not get too narrow */
@media (max-width: 1023px) {
  .lw-trust__grid { max-width: 640px; grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lw-trust__copy p { max-width: none; }
}
@media (max-width: 767px) {
  .lw-trust { padding: 40px 0 36px; }
  .lw-trust__grid { padding: 0 22px; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lw-trust__mosaic { gap: 5px; }
  .lw-tile { border-radius: 6px; }
}

/* ---------- products ---------- */
.lw-prods { --lw-line: #DCE3EC; color: var(--lw-ink); text-align: left; padding: 52px 0 40px; background: var(--n-grey); }
.lw-prods__wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 22px; }
.lw-prods__head h2 { font: 800 clamp(22px, 3vw, 28px)/1.2 var(--n-font-head); letter-spacing: -.02em; color: var(--lw-ink); margin: 8px 0 6px; }
.lw-prods__head p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--lw-ink-2); }
.lw-prods__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lw-prods__grid li { margin: 0; padding: 0; }
.lw-prod { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--lw-card); border: 1px solid var(--lw-line); border-radius: 10px; color: var(--lw-ink); text-decoration: none; transition: border-color .15s ease; }
.lw-prod:hover { border-color: var(--lw-yellow); color: var(--lw-ink); }
.lw-prod__logo { width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #F3F6F9; padding: 7px; }
.lw-prods .lw-prod__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.lw-prod__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.4; }
.lw-prod__txt b { font-size: 15px; font-weight: 700; color: var(--lw-ink); }
.lw-prod__txt span { font-size: 13px; color: var(--lw-ink-3); }
.lw-prod__go { width: 16px; height: 16px; color: var(--lw-ink-3); flex: none; transition: transform .15s ease, color .15s ease; }
.lw-prod:hover .lw-prod__go { color: var(--lw-ink); transform: translate(2px, -2px); }
@media (max-width: 1024px) { .lw-prods__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lw-prods__wrap { padding: 0 22px; } .lw-prods__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* ---------- copyright + social links ---------- */
.n-ftr__base { background: var(--n-blue); padding: 50px 0; }
.n-ftr__base-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.n-ftr__copy { max-width: 422px; margin: 0; font-size: 14px; line-height: 24px; color: var(--n-ink); }
.n-social { display: flex; flex-wrap: wrap; align-items: center; gap: 4.4px; margin: 0 -1px 0 0; padding: 0; list-style: none; }
.n-social li { display: flex; }
.n-social__link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 4px; color: var(--n-ink); }
.n-social__link svg { width: 24px; height: 24px; fill: #020101; }
.n-social__link svg.n-social__pin { fill: none; stroke: #020101; }
.n-social__link:hover svg { fill: var(--n-ink-3); }
.n-social__link:hover svg.n-social__pin { fill: none; stroke: var(--n-ink-3); }
/* positions measured on the frozen site: copyright x152 at 1440, x34 at 1024, x26 at 768, x23 at 390 */
@media (min-width: 1201px) { .n-ftr__base-in { padding-left: calc(var(--n-gutter) + 2px); } }
@media (min-width: 1025px) { .n-social { align-self: flex-start; margin-top: 1px; } }
@media (min-width: 768px) and (max-width: 1200px) { .n-ftr__base-in { padding-inline: calc(3.125vw + 2px) calc(3.125vw - 2px); } }
@media (max-width: 1024px) { .n-ftr__base-in { flex-direction: column; align-items: flex-start; } .n-social { margin: 0; } }
@media (max-width: 767px) {
  .n-ftr__base { padding: 40px 0 30px; }
  .n-ftr__base-in { padding-inline: calc(var(--n-gutter) + 1px) 20px; }
  .n-social { gap: 4px; margin-left: 0; }
  .n-social__link { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .lw-mark, .lw-prod, .lw-prod__go, .lw-tile img, .lw-row, .lw-row__go { transition: none; } .lw-trust .lw-tile:hover img { transform: none; } }

/* 10-home.css */
/* Home page (web/src/native/templates/Home.astro), scope: .t-home. Same design as the current home page. */


/* ---------- section heads (centered, 44px headings as on the current home) ---------- */
.t-home .hm-head { max-width: 780px; margin-bottom: 48px; gap: 18px; }
.t-home .hm-head--wide { max-width: 900px; }
.t-home .hm-head .n-head__title { font-size: clamp(27px, 7vw, 44px); line-height: 1.14; letter-spacing: -.02em; }
.t-home .hm-head .n-head__intro, .t-home .hm-head .n-head__intro p { font-size: 20px; line-height: 1.5; color: var(--n-ink); }
.t-home .hm-center { display: flex; justify-content: center; margin-top: 56px; }
@media (max-width: 767px) {
  .t-home .hm-head { margin-bottom: 30px; gap: 14px; }
  .t-home .hm-center { margin-top: 40px; }
}

/* ---------- hero ---------- */
.t-home .hm-hero { overflow: hidden; }
.t-home .n-main > .hm-hero:first-child { padding-top: calc(var(--n-hdr-h) + 72px); padding-bottom: 178px; }
.t-home .hm-hero > .n-wrap { position: relative; }
.t-home .hm-hero__copy { position: relative; z-index: 1; max-width: 560px; display: flex; flex-direction: column; }
.t-home .hm-hero__title { font-size: 50px; line-height: 1.16; letter-spacing: -.02em; max-width: 550px; }
.t-home .hm-hero__lead { margin-top: 20px; max-width: 430px; font-size: 20px; line-height: 1.5; color: var(--n-ink); }
.t-home .hm-hero__btns { margin-top: 40px; gap: 16px 20px; }

/* desktop: two tilted columns of client screenshots, one moves down and one moves up (box 1140 x 1200, turned 25deg) */
.t-home .hm-slider { position: absolute; left: calc(50% + 86px); top: -146px; width: 1140px; height: 1200px; overflow: hidden; transform: rotate(25deg);
  pointer-events: none; }
.t-home .hm-slider__rot { display: flex; align-items: flex-start; gap: 40px; height: 100%; }
.t-home .hm-slider__col { flex: none; width: 350px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 42px;
  animation: hm-down 133s linear infinite; animation-delay: -66.5s; will-change: transform; }
.t-home .hm-slider__col--up { animation-name: hm-up; animation-duration: 114s; animation-delay: 0s; padding-top: 10px; }
.t-home .hm-slider__col li { flex: none; }
.t-home .hm-slider__col img { width: 350px; height: auto; aspect-ratio: 1125 / 2436; border-radius: 14px; background: var(--n-white);
  box-shadow: 0 10px 30px rgba(26, 30, 34, .16); outline: 1px solid rgba(255, 255, 255, .7); }
/* each column holds its list two times; moving by half the column (+ half a gap) makes a loop without a jump */
@keyframes hm-down { from { transform: translateY(calc(-50% - 21px)); } to { transform: translateY(0); } }
@keyframes hm-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 21px)); } }
.t-home .hm-slider.is-off .hm-slider__col { animation-play-state: paused; }

/* phone + tablet: a tilted strip that moves sideways under the buttons */
.t-home .hm-strip { display: none; position: relative; height: clamp(240px, 60vw, 380px); overflow: hidden; margin: 0 calc(-1 * var(--n-gutter));
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 72%, transparent 100%);
  mask-composite: intersect; }
.t-home .hm-strip__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; position: absolute; left: 0; top: 46%;
  animation: hm-strip 48s linear infinite; }
.t-home .hm-strip__card { flex: none; width: clamp(110px, 30vw, 170px); aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--n-white);
  box-shadow: 0 10px 26px rgba(26, 30, 34, .16); outline: 1px solid rgba(255, 255, 255, .8); }
.t-home .hm-strip__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes hm-strip { from { transform: translate(0, -50%) rotate(-12deg); } to { transform: translate(calc(-50% - 7px), -50%) rotate(-12deg); } }
.t-home .hm-strip.is-off .hm-strip__track { animation-play-state: paused; }
/* pause on mouse hover only: on touch screens a tap sets :hover and stopped the row */
@media (hover: hover) and (pointer: fine) { .t-home .hm-strip:hover .hm-strip__track { animation-play-state: paused; } }

@media (max-width: 1024px) {
  .t-home .hm-slider { display: none; }
  .t-home .hm-strip { display: block; margin-top: -40px; }
  .t-home .n-main > .hm-hero:first-child { padding-top: calc(var(--n-hdr-h) + 20px); padding-bottom: 40px; }
  .t-home .hm-hero__copy { max-width: 600px; }
  .t-home .hm-hero__lead { max-width: 560px; }
}
@media (max-width: 767px) {
  .t-home .n-main > .hm-hero:first-child { padding-top: calc(var(--n-hdr-h) + 60px); padding-bottom: 76px; }
  .t-home .hm-hero__title { font-size: clamp(32px, 9vw, 36px); line-height: 1.15; }
  .t-home .hm-hero__lead { margin-top: 20px; font-size: 20px; padding-left: 2px; }
  .t-home .hm-hero__btns { margin-top: 36px; flex-wrap: nowrap; gap: 12px; }
  .t-home .hm-hero__btns > .n-btn { flex: 1 1 0; min-width: 0; padding: 12px 10px; font-size: 15px; gap: 6px; }
  .t-home .hm-strip { margin-top: -57px; }
}
@media (max-width: 339px) { .t-home .hm-hero__btns { flex-wrap: wrap; } .t-home .hm-hero__btns > .n-btn { flex: 1 1 100%; } }

/* phone + tablet, design "D · Yellow block": yellow band, large headline, dark + white buttons,
   a straight row of framed phone screens that moves sideways */
@media (max-width: 1024px) {
  .t-home .hm-hero { background: var(--n-yellow); }
  .t-home .n-main > .hm-hero:first-child { padding-top: calc(var(--n-hdr-h) + 36px); padding-bottom: 64px; }
  .t-home .hm-hero__title { font-size: clamp(34px, 10.3vw, 48px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
  .t-home .hm-hero__title br { display: none; }
  .t-home .hm-hero__lead { margin-top: 16px; font-size: 17px; padding-left: 0; }
  .t-home .hm-hero__btns { margin-top: 28px; flex-wrap: nowrap; gap: 10px; }
  .t-home .hm-hero__btns > .n-btn { flex: 1 1 0; min-width: 0; box-shadow: none; }
  .t-home .hm-hero__btns > .n-btn--primary { background: var(--n-ink); color: var(--n-white); }
  .t-home .hm-hero__btns > .n-btn--primary:hover, .t-home .hm-hero__btns > .n-btn--primary:focus-visible { background: var(--n-ink-2); color: var(--n-white); }
  .t-home .hm-hero__btns > .n-btn--secondary { background: var(--n-white); }
  .t-home .hm-strip { margin-top: 30px; height: auto; padding: 6px 0 30px;
    -webkit-mask-image: none; mask-image: none; }
  .t-home .hm-strip__track { position: relative; top: auto; gap: 22px; padding-left: 8px; animation-name: hm-strip-flat; }
  /* iPhone casing: metal edge (outer rings), black bezel (padding), Dynamic Island, side buttons */
  .t-home .hm-strip__card { position: relative; width: clamp(150px, 40vw, 200px); aspect-ratio: auto; padding: 5px; border-radius: 30px; overflow: visible;
    background: #0B0B0D; outline: 0;
    box-shadow: inset 0 0 0 1px #2A2B2F, 0 0 0 2px #9A9DA3, 0 0 0 3.5px #4B4D53, 0 12px 16px -8px rgba(26, 30, 34, .4); }
  /* Safari: no overflow clip on a moving row (WebKit drops it), so the image has its own round corners */
  .t-home .hm-strip__card picture { display: block; }
  .t-home .hm-strip__card img { height: auto; aspect-ratio: 1125 / 2436; border-radius: 25px; background: var(--n-white); }
  /* Dynamic Island, drawn on the frame above the screen */
  .t-home .hm-strip__card::before { content: ""; position: absolute; z-index: 1; top: calc(5px + 3%); left: 50%; width: 32%; height: 4%;
    transform: translateX(-50%); border-radius: 999px; background: #000; }
  /* side buttons: one box as wide as the phone + 12 px, with 3 px bars at its left and right edges */
  .t-home .hm-strip__card::after { content: ""; position: absolute; top: 18%; left: -6px; right: -6px; height: 25%; pointer-events: none;
    background:
      linear-gradient(#7C7F86, #7C7F86) left 0 top 0 / 3px 8% no-repeat,
      linear-gradient(#7C7F86, #7C7F86) left 0 top 24% / 3px 36% no-repeat,
      linear-gradient(#7C7F86, #7C7F86) left 0 bottom 0 / 3px 32% no-repeat,
      linear-gradient(#7C7F86, #7C7F86) right 0 top 36% / 3px 60% no-repeat; }
}
/* desktop, design "D · Yellow block": yellow band, large headline, dark + white buttons; the tilted columns show each
   screen in an iPhone casing (black bezel, metal edge, Dynamic Island) */
@media (min-width: 1025px) {
  .t-home .hm-hero { background: var(--n-yellow); }
  .t-home .hm-hero__title { font-size: 60px; font-weight: 800; line-height: 1.04; letter-spacing: -.03em; max-width: 600px; }
  .t-home .hm-hero__btns > .n-btn { box-shadow: none; }
  .t-home .hm-hero__btns > .n-btn--primary { background: var(--n-ink); color: var(--n-white); }
  .t-home .hm-hero__btns > .n-btn--primary:hover, .t-home .hm-hero__btns > .n-btn--primary:focus-visible { background: var(--n-ink-2); color: var(--n-white); }
  .t-home .hm-hero__btns > .n-btn--secondary { background: var(--n-white); }
  .t-home .hm-slider__col li { position: relative; }
  .t-home .hm-slider__col img { box-sizing: border-box; border: 9px solid #0B0B0D; border-radius: 46px; outline: 0;
    box-shadow: 0 0 0 2px #9A9DA3, 0 0 0 4px #4B4D53, 0 18px 30px -10px rgba(26, 30, 34, .45); }
  .t-home .hm-slider__col li::before { content: ""; position: absolute; z-index: 1; top: 22px; left: 50%; width: 30%; height: 26px;
    transform: translateX(-50%); border-radius: 999px; background: #000; }
}
@keyframes hm-strip-flat { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 11px)); } }

@media (prefers-reduced-motion: reduce) {
  .t-home .hm-slider__col { animation: none !important; transform: translateY(-2800px); }
  .t-home .hm-slider__col--up { transform: none; }
  .t-home .hm-strip__track { animation: none !important; transform: translate(0, -50%) rotate(-12deg); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1024px) { .t-home .hm-strip__track { transform: none; } }

/* ---------- stats card + awards band (grey) ---------- */
.t-home .hm-trust { background: var(--n-grey); padding-bottom: 10px; }
.t-home .hm-stats { position: relative; z-index: 2; margin: -90px auto 20px; padding: 30px 10px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--n-ink); border-radius: 10px; box-shadow: 0 14px 30px rgba(26, 30, 34, .18); }
.t-home .hm-stats__item { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 10px; }
.t-home .hm-stats__num { font: 600 40px/1 var(--n-font); color: var(--n-yellow); white-space: nowrap; }
.t-home .hm-stats__label { max-width: 6.4em; font: 700 22px/1.3 var(--n-font-head); letter-spacing: -.02em; color: var(--n-white); }
.t-home .hm-awards { max-width: 1120px; margin: 0 auto; }
.t-home .hm-awards { --lw-ink: #1A1E22; --lw-ink-2: #3F454B; --lw-ink-3: #5F666D; --lw-line: #E1E6EA; --lw-band: #F3F6F7; --lw-card: #FFFFFF;
  --lw-yellow: #FFDA33; font-family: var(--n-font); color: var(--n-ink); }
.t-home .hm-awards .lw-kicker { display: block; margin: 0; font: 700 13px/1.4 var(--n-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--lw-ink-3); text-align: center; }
.t-home .hm-awards .lw-kicker--sm { font-size: 12px; }
.t-home .hm-awards .lw-mark__txt b { font-family: var(--n-font); }
@media (max-width: 1024px) {
  .t-home .hm-stats { margin-top: -40px; }
  .t-home .hm-stats__item { flex-direction: column; justify-content: flex-start; gap: 8px; text-align: center; }
  /* each label on 2 lines ("klien gembira" too) */
  .t-home .hm-stats__label { width: min-content; }
}
@media (max-width: 767px) {
  /* the dark stats card is almost full width on phones (2px from the edges), as on the frozen site */
  .t-home .hm-trust > .n-wrap { padding-inline: 2px; }
  .t-home .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 40px 0; row-gap: 22px; }
  .t-home .hm-stats__item { padding: 10px 6px; }
  .t-home .hm-awards { margin-inline: 10px; }
}

/* ---------- portfolio: pill tabs + 6 cards ---------- */
.t-home .hm-pf { padding-top: 60px; }
@media (max-width: 767px) { .t-home .hm-pf { padding-top: 48px; } }
.t-home .hm-pf .hm-head { margin-bottom: 50px; }
.t-home .hm-tabs { display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 8px; padding: 6px; overflow-x: auto; scrollbar-width: none;
  background: var(--n-white); border: 1px solid var(--n-line); border-radius: 999px; }
.t-home .hm-tabs::-webkit-scrollbar { display: none; }
.t-home .hm-tabs__tab { flex: none; padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--n-ink-2);
  font: 500 16px/1.3 var(--n-font); cursor: pointer; white-space: nowrap; transition: background-color var(--n-dur) ease, color var(--n-dur) ease; }
.t-home .hm-tabs__tab:hover { background: var(--n-grey); color: var(--n-ink); }
.t-home .hm-tabs__tab[aria-selected="true"] { background: var(--n-ink); color: var(--n-white); }
.t-home .hm-tabs__tab:focus-visible { outline: 3px solid var(--n-ink); outline-offset: -3px; }
.t-home .hm-tabs__tab[aria-selected="true"]:focus-visible { outline-color: var(--n-yellow); }
.t-home .hm-pf-grid { padding-top: 45px; }
.t-home .hm-panel:focus-visible { outline-offset: 6px; }
.t-home .hm-panel:not([hidden]) { animation: hm-tab-in .28s ease both; }
@keyframes hm-tab-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.t-home .hm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 -7px; }
.t-home .hm-card { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 16px; background: var(--n-white); border: 1px solid var(--n-line);
  border-radius: 14px; color: var(--n-ink); text-decoration: none; transition: border-color var(--n-dur) ease; }
.t-home .hm-card:hover, .t-home .hm-card:focus-visible { border-color: var(--n-yellow); }
.t-home .hm-card__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 9px; background: var(--n-blue); }
.t-home .hm-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--n-ease); }
.t-home .hm-card:hover .hm-card__img img { transform: scale(1.03); }
.t-home .hm-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding: 22px 10px 0; }
.t-home .hm-card__cat { padding: 3px 10px; border-radius: 999px; background: var(--n-yellow-soft); color: #5C4A00; font: 600 12px/1.25 var(--n-font); letter-spacing: .01em; }
.t-home .hm-card__title { font: 600 17px/1.3 var(--n-font-head); letter-spacing: -.02em; color: var(--n-ink); }
/* tablet: 2 columns (tablet breakpoint 1024px) */
@media (max-width: 1024px) { .t-home .hm-cards { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .t-home .hm-pf .hm-head { margin-bottom: 20px; }
  .t-home .hm-tabs { margin-bottom: 0; }
  .t-home .hm-pf-grid { padding-top: 24px; }
  .t-home .hm-pf-grid > .n-wrap { padding-inline: 15px; }
  .t-home .hm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-home .hm-card { padding: 6px 6px 12px; border-radius: 12px; }
  .t-home .hm-card__body { padding: 16px 4px 0; gap: 10px; }
  .t-home .hm-card__cat { font-size: 13px; }
  .t-home .hm-card__title { font-size: 15px; }
}

/* ---------- Klien logo marquee (2 rows) ---------- */
.t-home .hm-klien { padding-top: 100px; }
.t-home .hm-klien .hm-head { max-width: 1000px; }
.t-home .hm-klien .hm-head { margin-bottom: 60px; }
.t-home .hm-sv, .t-home .hm-ts { padding-top: 120px; }
@media (min-width: 1025px) { .t-home .hm-pf-grid .hm-center { margin-top: 110px; } }
.t-home .hm-head--wide .n-head__intro { max-width: 780px; }
@media (max-width: 767px) { .t-home .hm-klien { padding-top: 48px; } .t-home .hm-sv, .t-home .hm-ts { padding-top: var(--n-sec-pad); } .t-home .hm-pf-grid .hm-center { margin-top: 48px; } }
.t-home .hm-klien__rows { display: flex; flex-direction: column; gap: 20px; }
.t-home .hm-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
.t-home .hm-marquee img { width: 220px; height: 110px; object-fit: cover; border-radius: 10px; background: var(--n-white); }
/* tablet and desktop: the strip stops 10px from the screen edges, as on the frozen site (phones: full width) */
@media (min-width: 768px) { .t-home .hm-klien__rows { padding-inline: 10px; } }
/* reduced motion: no moving strip; all the logos wrap into a static, centred grid (nothing is clipped) */
@media (prefers-reduced-motion: reduce) {
  .t-home .hm-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; padding-inline: var(--n-gutter); }
  .t-home .hm-marquee .n-marquee__track { width: auto; }
  .t-home .hm-marquee .n-marquee__group { flex-wrap: wrap; justify-content: center; padding-right: 0; row-gap: var(--n-marquee-gap, 20px); }
}
@media (max-width: 767px) {
  .t-home .hm-klien .hm-head { margin-bottom: 40px; }
  .t-home .hm-klien__rows { gap: 12px; }
  .t-home .hm-marquee { --n-marquee-gap: 12px !important; }
  .t-home .hm-marquee img { width: 138px; height: 69px; }
}

/* ---------- services "Kepakaran Kami" ---------- */
.t-home .hm-sv__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 20px; }
.t-home .hm-sv__card { display: flex; flex-direction: column; gap: 20px; height: 100%; padding: 9px 9px 18px; border: 1px solid transparent; border-radius: 14px;
  color: var(--n-ink); text-decoration: none; transition: border-color var(--n-dur) ease; }
.t-home .hm-sv__card:hover, .t-home .hm-sv__card:focus-visible { border-color: var(--n-yellow); }
.t-home .hm-sv__img { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; border-radius: 10px; box-shadow: 0 0 1px rgba(0, 0, 0, .12); }
.t-home .hm-sv__title { font: 700 20px/1.2 var(--n-font-head); letter-spacing: -.02em; }
@media (max-width: 1024px) { .t-home .hm-sv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .t-home .hm-sv__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* ---------- FAQ (6 questions, 2 columns) ---------- */
.t-home .hm-faq__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; align-items: start; }
.t-home .hm-faq__col { display: flex; flex-direction: column; gap: 12px; }
.t-home .hm-faq__item { background: var(--n-white); border: 1px solid #D5DEEA; border-radius: 10px; transition: border-color var(--n-dur) ease; }
.t-home .hm-faq__item:hover, .t-home .hm-faq__item[open] { border-color: #C9D2DA; }
.t-home .hm-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer;
  font: 600 17px/1.4 var(--n-font); color: var(--n-ink); border-radius: 10px; }
.t-home .hm-faq__item summary::-webkit-details-marker { display: none; }
.t-home .hm-faq__ico { width: 20px; height: 20px; flex: none; color: var(--n-ink-3); transition: transform var(--n-dur) var(--n-ease); }
.t-home .hm-faq__item[open] .hm-faq__ico { transform: rotate(180deg); color: var(--n-ink); }
.t-home .hm-faq__a { padding: 0 20px 18px; font-size: 16px; line-height: 1.6; color: var(--n-ink-2); }
.t-home .hm-faq__a > * + * { margin-top: 10px; }
.t-home .hm-faq__a ul, .t-home .hm-faq__a ol { padding-left: 1.2em; }
.t-home .hm-faq .hm-center { margin-top: 60px; }
@media (max-width: 767px) {
  .t-home .hm-faq__cols { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .t-home .hm-faq__item summary { padding: 16px; font-size: 16px; }
  .t-home .hm-faq__a { padding: 0 16px 16px; font-size: 15.5px; }
}

/* ---------- testimonial videos ---------- */
.t-home .hm-ts .hm-head .n-head__title { line-height: 1.36; }
.t-home .hm-ts .hm-head { margin-bottom: 56px; }
.t-home .hm-ts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; padding: 0 10px; }
.t-home .hm-ts__item { display: flex; flex-direction: column; gap: 20px; }
.t-home .hm-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--n-ink); border: var(--n-bw) solid var(--n-ink); box-shadow: var(--n-shadow); }
.t-home .hm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.t-home .hm-video__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: center / cover no-repeat;
  display: grid; place-items: center; }
.t-home .hm-video__play { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(26, 30, 34, .78);
  transition: transform .2s ease, background-color .2s ease; }
.t-home .hm-video__play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--n-yellow); stroke: var(--n-yellow); stroke-width: 1.5; stroke-linejoin: round; }
.t-home .hm-video__btn:hover .hm-video__play, .t-home .hm-video__btn:focus-visible .hm-video__play { transform: scale(1.08); background: var(--n-ink); }
.t-home .hm-video__btn:focus-visible { outline: none; }
.t-home .hm-video__btn:focus-visible .hm-video__play { box-shadow: 0 0 0 3px var(--n-white), 0 0 0 6px var(--n-ink); }
.t-home .hm-ts__who { display: flex; align-items: center; gap: 20px; }
.t-home .hm-ts__logo { width: 72px; height: auto; max-height: 60px; object-fit: contain; flex: none; }
.t-home .hm-ts__name { display: flex; flex-direction: column; font: 500 15px/22px var(--n-font); color: var(--n-ink); }
@media (max-width: 1024px) { .t-home .hm-ts__grid { gap: 30px 16px; padding: 0; } .t-home .hm-ts__who { gap: 12px; } }
@media (max-width: 767px) {
  .t-home .hm-ts .hm-head { margin-bottom: 40px; }
  .t-home .hm-ts__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 0 8px; }
  .t-home .hm-ts__name { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .t-home .hm-panel:not([hidden]) { animation: none; } }

/* ---------- section spacing of the frozen home page (QA, measured at 390 / 768 / 1440 px) ---------- */
.t-home .hm-head { gap: 20px; }
.t-home .hm-pf-grid { padding-bottom: 80px; }
.t-home .hm-pf-grid .hm-center { margin-top: 135px; }
.t-home .hm-klien { padding-top: 111px; padding-bottom: 150px; }
.t-home .hm-klien .hm-head { margin-bottom: 72px; }
.t-home .hm-klien__rows { gap: 30px; }
.t-home .hm-sv { padding-bottom: 117px; }
.t-home .hm-faq { padding-bottom: 120px; }
.t-home .hm-faq .hm-center { margin-top: 82px; }
.t-home .hm-ts .hm-head { max-width: 1080px; gap: 40px; margin-bottom: 77px; }
.t-home .hm-ts .hm-head .n-head__title { max-width: 880px; margin-inline: auto; }
@media (max-width: 1024px) {
  .t-home .hm-sv { padding-bottom: 133px; }
  .t-home .hm-sv .hm-head .n-head__intro { max-width: 380px; margin-inline: auto; }
  .t-home .hm-ts .hm-head { max-width: 708px; }
  .t-home .hm-ts .hm-head .n-head__title { max-width: 508px; }
  .t-home .hm-sv .hm-head .n-head__intro { max-width: 360px; }
  .t-home .hm-ts .hm-head .n-head__intro { max-width: 370px; margin-inline: auto; }
  .t-home .hm-ts .hm-head { margin-bottom: 75px; }
}
@media (max-width: 767px) {
  .t-home .hm-head .n-head__title { line-height: 1.2; }
  .t-home .hm-pf-grid { padding-bottom: 91px; }
  .t-home .hm-pf-grid .hm-center { margin-top: 114px; }
  .t-home .hm-klien { padding-top: 120px; padding-bottom: 150px; }
  .t-home .hm-klien .hm-head { margin-bottom: 57px; }
  .t-home .hm-klien__rows { gap: 39px; }
  .t-home .hm-sv { padding-top: 87px; padding-bottom: 55px; }
  .t-home .hm-sv .hm-head { margin-bottom: 61px; }
  .t-home .hm-sv .hm-head .n-head__intro { max-width: none; }
  .t-home .hm-sv__grid { gap: 20px; }
  .t-home .hm-faq { padding-bottom: 96px; }
  .t-home .hm-faq .hm-center { margin-top: 52px; }
  .t-home .hm-ts { padding-top: 119px; }
  .t-home .hm-pf { padding-bottom: 17px; }
  .t-home .hm-pf-grid { padding-top: 35px; }
  .t-home .hm-card__body { padding-top: 30px; }
  .t-home .hm-faq__col { gap: 16px; }
  .t-home .hm-faq__cols { gap: 16px; }
  .t-home .hm-faq .hm-center { margin-top: 72px; }
  .t-home .hm-ts .hm-head { max-width: none; padding-inline: 28px; margin-bottom: 40px; }
  .t-home .hm-ts .hm-head .n-head__intro { max-width: none; }
  .t-home .hm-ts .hm-head .n-head__title { max-width: none; line-height: 1.2; }
}

/* 10-not-found.css */
/* 404 page (web/src/native/templates/NotFound.astro), scope: .t-not-found */
.t-not-found .nf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.t-not-found .nf-hero__copy { display: flex; flex-direction: column; gap: 18px; }
.t-not-found .nf-hero__lead { font-size: 18px; line-height: 1.6; color: var(--n-ink-2); max-width: 34rem; }
.t-not-found .nf-hero__copy .n-btns { margin-top: 10px; }
.t-not-found .nf-hero__art { display: flex; justify-content: center; }
.t-not-found .nf-hero__code { display: inline-block; padding: 18px 36px 22px; font: 800 clamp(88px, 13vw, 168px)/1 var(--n-font-head); letter-spacing: -.04em;
  color: var(--n-ink); background: var(--n-yellow); border: var(--n-bw) solid var(--n-ink); border-radius: var(--n-r-xl); box-shadow: 8px 8px 0 var(--n-ink);
  transform: rotate(-3deg); }
.t-not-found .nf-more__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.t-not-found .nf-more__card { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 17px/1.3 var(--n-font-head); }
.t-not-found .nf-more__ico { width: 18px; height: 18px; color: var(--n-ink-3); transition: transform var(--n-dur) var(--n-ease), color var(--n-dur) ease; }
.t-not-found .nf-more__card:hover .nf-more__ico { transform: translateX(3px); color: var(--n-ink); }
@media (max-width: 900px) {
  .t-not-found .nf-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .t-not-found .nf-hero__art { order: -1; justify-content: flex-start; }
  .t-not-found .nf-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .t-not-found .nf-hero__lead { font-size: 16px; }
  .t-not-found .nf-hero__code { padding: 10px 22px 14px; box-shadow: 6px 6px 0 var(--n-ink); }
}

/* 15-services.css */
/* Services template (t-services): /servis/ hub and /servis/<child>/ pages. Markup: native/templates/Services*.astro,
   native/components/services/. Neo-brutal buttons; yellow border on card hover. */

/* ---------- hero (first band, white, line under it) ---------- */
.t-services .svc-hero { border-bottom: 1px solid var(--n-line); }
.t-services .n-main > .svc-hero:first-child { padding-top: calc(var(--n-hdr-h) + 24px); padding-bottom: 48px; }
.t-services .svc-hero h1 { font-size: clamp(30px, 3vw, 34px); line-height: 1.2; font-weight: 800; }
.t-services .svc-hero__intro { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--n-ink); max-width: 760px; }
.t-services .svc-hero--center { text-align: center; }
.t-services .svc-hero--center .n-wrap { display: flex; flex-direction: column; align-items: center; }
.t-services .svc-hero--center .svc-hero__intro { max-width: 640px; }
.t-services .svc-hero__kicker { margin-bottom: 8px; font-weight: 500; font-size: 13px; letter-spacing: .12em; color: var(--n-ink-2); }
.t-services .svc-hero + .n-sec--divider { border-top: 0; }

/* ---------- hub: service cards ---------- */
.t-services .svc-cards { padding-top: 32px; padding-bottom: 48px; }
.t-services .svc-cards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; }
.t-services .svc-card { position: relative; display: flex; flex-direction: column; padding: 8px 8px 24px; border: 1px solid transparent; border-radius: var(--n-r-lg);
  transition: border-color var(--n-dur) ease; }
.t-services .svc-card:hover, .t-services .svc-card:focus-within { border-color: var(--n-yellow); }
.t-services .svc-card__img { width: 100%; aspect-ratio: 384 / 202; object-fit: cover; border-radius: var(--n-r-md); box-sizing: border-box; border: 1px solid var(--n-line-2); }
.t-services .svc-card__title { margin-top: 18px; font-size: 21px; line-height: 1.3; font-weight: 700; }
.t-services .svc-card__link { color: inherit; text-decoration: none; }
.t-services .svc-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--n-r-lg); }
.t-services .svc-card__link:focus-visible { outline: none; }
.t-services .svc-card__link:focus-visible::after { outline: 3px solid var(--n-ink); outline-offset: 2px; }
.t-services .svc-card__text { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--n-ink); }
/* arrow after the title: always visible; on hover (or keyboard focus) it moves right and nudges */
.t-services .svc-card__link { display: inline-flex; align-items: center; gap: 10px; }
.t-services .svc-card__go { flex: none; width: 22px; height: 22px; color: var(--n-ink); transition: transform .25s var(--n-ease); }
.t-services .svc-card:hover .svc-card__go, .t-services .svc-card:focus-within .svc-card__go { transform: translateX(6px); animation: svc-nudge .9s ease-in-out .25s infinite; }
@keyframes svc-nudge { 0%, 100% { transform: translateX(6px); } 50% { transform: translateX(11px); } }

/* ---------- hub: website types ---------- */
.t-services .svc-types { padding-bottom: 56px; }
.t-services .svc-types h2 { margin: 6px 0 20px; font-size: 26px; line-height: 1.25; }
.t-services .svc-types__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.t-services .svc-type { height: 100%; display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--n-white); border: 1px solid var(--n-line);
  border-radius: var(--n-r-md); color: var(--n-ink); text-decoration: none; transition: border-color var(--n-dur) ease; }
.t-services .svc-type:hover, .t-services .svc-type:focus-visible { border-color: var(--n-yellow); }
.t-services .svc-type__txt { flex: 1; display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }
.t-services .svc-type__txt b { font-size: 16px; font-weight: 700; }
.t-services .svc-type__txt span { font-size: 14px; color: var(--n-ink-3); }
.t-services .svc-type__go { width: 18px; height: 18px; color: var(--n-ink-3); transition: transform var(--n-dur) ease, color var(--n-dur) ease; }
.t-services .svc-type:hover .svc-type__go { color: var(--n-ink); transform: translateX(3px); }

/* ---------- service page: feature rows ---------- */
.t-services .svc-feat { padding-block: 64px; }
.t-services .svc-feat__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; align-items: center; }
.t-services .svc-feat--flip .svc-feat__vis { order: -1; }
.t-services .svc-feat__txt { max-width: 500px; }
.t-services .svc-feat--flip .svc-feat__txt { justify-self: start; }
.t-services .svc-feat h2 { font-size: clamp(21px, 2vw, 24px); line-height: 1.4; font-weight: 700; }
.t-services .svc-feat__body { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--n-ink); }
/* body text is ink, as on the frozen site (the base rule .n-body p is grey) */
.t-services .svc-feat__body p, .t-services .svc-hero__intro p { color: var(--n-ink); }
.t-services .svc-feat__body > * + * { margin-top: 12px; }
.t-services .svc-feat__body ul { padding-left: 1.3em; }
.t-services .svc-feat__body li + li { margin-top: 4px; }
.t-services .svc-feat__vis { display: flex; justify-content: center; }
.t-services .svc-feat__vis img { max-height: 340px; width: auto; }
.t-services .svc-lottie { width: 100%; max-width: 380px; }
.t-services .svc-lottie svg { display: block; width: 100% !important; height: 100% !important; }

/* ---------- service page: stats band (background image from the page content) ---------- */
.t-services .svc-stats { padding-top: 40px; padding-bottom: 40px; border-top: 0; }
/* the box with a picture (--svc-stats-bg) keeps room for it; without a picture the box is as tall as the text */
.t-services .svc-stats__box { display: flex; align-items: center; padding: 40px 6%; border-radius: var(--n-r-md);
  background: var(--n-hero) var(--svc-stats-bg, none) bottom center / cover no-repeat; }
.t-services .svc-stats__box--img { min-height: 440px; padding-block: 48px; }
.t-services .svc-stats__list { display: flex; flex-direction: column; gap: 14px; max-width: 46%; }
.t-services .svc-stats__list li { font: 500 20px/1.3 var(--n-font); color: var(--n-ink); }
.t-services .svc-stats__list .svc-stats__lead { font-size: 28px; font-weight: 600; }
/* no picture: the 4 facts in one row (phone: one column, see below) */
.t-services .svc-stats__box:not(.svc-stats__box--img) .svc-stats__list { max-width: none; width: 100%; flex-direction: row; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 12px 32px; }

/* ---------- testimonials ---------- */
.t-services .svc-testi { background: #EBF5F5; border-top: 1px solid var(--n-line); padding-block: 96px 80px; }
.t-services .svc-testi__head { max-width: 900px; margin: 0 auto 52px; text-align: center; }
.t-services .svc-testi__head h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; font-weight: 800; }
.t-services .svc-testi__head p { margin-top: 24px; font-size: 20px; line-height: 1.5; color: var(--n-ink); max-width: 720px; margin-inline: auto; }
.t-services .svc-testi__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.t-services .svc-video { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 3px solid var(--n-ink); border-radius: 5px;
  box-shadow: var(--n-shadow); background: var(--n-ink); }
.t-services .svc-video img { width: 100%; height: 100%; object-fit: cover; }
.t-services .svc-video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.t-services .svc-video__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(26, 30, 34, .78); color: var(--n-yellow); transform: translate(-50%, -50%); transition: transform var(--n-dur) ease, background-color var(--n-dur) ease; }
.t-services .svc-video__play svg { width: 26px; height: 26px; margin-left: 3px; }
.t-services .svc-video:hover .svc-video__play, .t-services .svc-video:focus-visible .svc-video__play { background: var(--n-ink); transform: translate(-50%, -50%) scale(1.08); }
.t-services .svc-testi__who { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.t-services .svc-testi__logo { width: auto; max-width: 20%; max-height: 52px; height: auto; flex: none; object-fit: contain; }
.t-services .svc-testi__name { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--n-ink); }

/* ---------- CTA band + "Servis lain" ---------- */
.t-services .svc-cta { padding-block: 56px; }
.t-services .svc-cta__card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; padding: 32px 36px;
  background: var(--n-grey); border: 1px solid var(--n-line); border-left: 6px solid var(--n-yellow); border-radius: var(--n-r-lg); }
.t-services .svc-cta__txt { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.t-services .svc-cta h2 { font-size: 28px; line-height: 1.25; }
.t-services .svc-cta__lead { font-size: 16px; line-height: 1.55; }
.t-services .svc-cta__btns { gap: 12px 16px; }
.t-services .svc-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 20px; }
.t-services .svc-pills__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--n-ink-3); }
.t-services .svc-pills ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.t-services .svc-pills a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--n-line); border-radius: 999px;
  background: var(--n-white); color: var(--n-ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color var(--n-dur) ease; }
.t-services .svc-pills a:hover, .t-services .svc-pills a:focus-visible { border-color: var(--n-yellow-hover); }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .t-services .svc-cards__grid { gap: 24px 20px; }
  .t-services .svc-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-services .svc-feat__grid { gap: 32px 40px; }
  .t-services .svc-testi__grid { gap: 16px; }
  .t-services .svc-testi__who { gap: 12px; }
  .t-services .svc-stats__list { max-width: 55%; }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  .t-services .n-main > .svc-hero:first-child { padding-top: calc(var(--n-hdr-h) + 20px); padding-bottom: 36px; }
  .t-services .svc-hero h1 { font-size: 32px; }
  .t-services .svc-cards { padding-top: 24px; }
  .t-services .svc-cards__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .t-services .svc-card { padding: 4px 4px 20px; }
  .t-services .svc-types h2 { font-size: 22px; }
  .t-services .svc-types__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .t-services .svc-feat { padding-block: 40px; }
  .t-services .svc-feat__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .t-services .svc-feat__vis { order: -1; }
  .t-services .svc-lottie { max-width: 320px; }
  .t-services .svc-stats { padding-top: 24px; padding-bottom: 24px; }
  .t-services .svc-stats__box { min-height: 0; padding: 28px 22px; background-size: auto 240px; background-position: bottom right; }
  .t-services .svc-stats__box--img { padding-bottom: 260px; }
  .t-services .svc-stats__list { max-width: none; }
  .t-services .svc-stats__box:not(.svc-stats__box--img) .svc-stats__list { flex-direction: column; gap: 14px; }
  .t-services .svc-stats__list li { font-size: 18px; }
  .t-services .svc-stats__list .svc-stats__lead { font-size: 24px; }
  .t-services .svc-testi { padding-block: 64px 56px; }
  .t-services .svc-testi__head { margin-bottom: 36px; }
  .t-services .svc-testi__head h2 { font-size: 28px; }
  .t-services .svc-testi__head p { margin-top: 16px; font-size: 17px; }
  .t-services .svc-testi__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .t-services .svc-cta { padding-block: 36px; }
  .t-services .svc-cta__card { padding: 24px 20px; border-left-width: 5px; }
  .t-services .svc-cta__txt { flex-basis: 100%; }
  .t-services .svc-cta h2 { font-size: 23px; }
  .t-services .svc-cta__btns { width: 100%; flex-direction: column; align-items: stretch; }
  .t-services .svc-cta__btns > .n-btn { width: calc(100% - 4px); }
}

@media (prefers-reduced-motion: reduce) {
  .t-services .svc-card:hover .svc-card__go, .t-services .svc-card:focus-within .svc-card__go, .t-services .svc-type:hover .svc-type__go { transform: none; animation: none; }
  .t-services .svc-video:hover .svc-video__play { transform: translate(-50%, -50%); }
}

/* frozen sizes (QA): card titles 22px, text 20px below; testimonial head 44px (27.3px on phones) with the frozen widths */
.t-services .svc-card__title { font-size: 22px; line-height: 1; }
.t-services .svc-card__text { margin-top: 20px; }
.t-services .svc-testi__head { max-width: 760px; }
.t-services .svc-testi__head h2 { max-width: none; font-size: 44px; line-height: 1.2; font-weight: 800; text-wrap: balance; }
.t-services .svc-testi__head p { max-width: 680px; margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--n-ink-2); text-wrap: pretty; }
.t-services .svc-testi { padding-block: 130px 136px; }
.t-services .svc-testi__head { margin-bottom: 56px; }
.t-services .svc-card { padding-bottom: 44px; }
@media (max-width: 1024px) {
  .t-services .svc-testi { padding-bottom: 198px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .t-services .n-main > .svc-hero:first-child { padding-top: calc(var(--n-hdr-h) + 67px); }
  .t-services .svc-hero h1 { font-size: 32px; }
}
@media (max-width: 767px) {
  .t-services .svc-testi__head h2 { max-width: none; padding-inline: 3px; font-size: 27.3px; line-height: 1.2; }
  .t-services .svc-testi__head p { margin-top: 16px; font-size: 17px; padding-inline: 3px; }
  .t-services .svc-testi { padding-block: 115px 200px; }
  .t-services .svc-testi__head { margin-bottom: 58px; }
  .t-services .svc-card { padding-bottom: 35px; }
}

/* 20-types.css */
/* Website-type pages (web/src/native/templates/types.astro), scope: .t-types */
.t-types .ty-intro { padding-bottom: 40px; }
.t-types .ty-intro__head { max-width: 820px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.t-types .ty-intro__head p { font-size: 17px; line-height: 1.65; color: var(--n-ink-2); }
.t-types .ty-intro__pic { display: block; margin-top: 40px; }
.t-types .ty-intro__pic img { width: 100%; border-radius: var(--n-r-lg); border: 1px solid var(--n-line); }

.t-types .ty-show { padding-top: 0; border-bottom: 1px solid var(--n-line); }
.t-types .ty-show__pic img { width: 100%; }

/* title case of some headings (text-transform: capitalize) */
.t-types .ty-cap { text-transform: capitalize; }

/* split: image + copy */
.t-types .ty-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.t-types .ty-split--img-right .ty-split__pic { order: 2; }
.t-types .ty-split__pic img { width: 100%; max-width: 540px; margin-inline: auto; }
.t-types .ty-split__copy { display: flex; flex-direction: column; gap: 12px; }
.t-types .ty-split__copy p { font-size: 16px; line-height: 1.7; }
.t-types .ty-split__title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 800; margin-bottom: 6px; }
.t-types .ty-split__sub { font-size: 21px; line-height: 1.3; font-weight: 700; margin-top: 14px; color: rgb(26 30 34 / .78); }
.t-types .ty-split__btns { margin-top: 14px; }

/* feature card (CMS) */
.t-types .ty-feat__title { max-width: 760px; margin: 0 auto 36px; text-align: center; font-size: clamp(22px, 2.6vw, 28px); }
.t-types .ty-feat__title em { font-style: italic; }
.t-types .ty-feat__card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px 40px; align-items: center;
  max-width: 980px; margin-inline: auto; padding: 20px; background: var(--n-white); border: 1px solid var(--n-line); border-radius: var(--n-r-xl); }
.t-types .ty-feat__pic img { width: 100%; border-radius: var(--n-r-md); }
.t-types .ty-feat__copy { display: flex; flex-direction: column; gap: 14px; padding-right: 12px; }
.t-types .ty-feat__copy p { font-size: 16px; line-height: 1.7; }
.t-types .ty-feat__btns { justify-content: center; margin-top: 36px; }

/* portfolio examples */
.t-types .ty-pf__title { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 24px; }
.t-types .ty-pf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.t-types .ty-pf__grid > li { display: flex; }
.t-types .ty-pf__card { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 16px; border-radius: var(--n-r-lg); }
.t-types .ty-pf__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--n-r-md); background: var(--n-blue); }
.t-types .ty-pf__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--n-ease); }
.t-types .ty-pf__card:hover .ty-pf__img img, .t-types .ty-pf__card:focus-visible .ty-pf__img img { transform: scale(1.03); }
.t-types .ty-pf__cat { align-self: flex-start; margin-top: 4px; padding: 3px 10px; font: 600 12px/1.4 var(--n-font); color: #5C4A00;
  background: var(--n-yellow-soft); border-radius: 999px; }
.t-types .ty-pf__name { font-size: 18px; line-height: 1.35; font-weight: 700; }

/* NGO: three cards */
.t-types .ty-cards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.t-types .ty-cards__item { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 32px; border: 1px solid var(--n-line); border-radius: var(--n-r-xl); background: var(--n-hero); }
.t-types .ty-cards__item:nth-child(2) { background: var(--n-blue); }
.t-types .ty-cards__item:nth-child(3) { background: var(--n-cream); }
.t-types .ty-cards__art { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: contain; margin: 0 auto 8px; }
.t-types .ty-cards__item h3 { font-size: 20px; }
.t-types .ty-cards__item p { font-size: 15px; line-height: 1.65; }

/* NGO: heading + text */
.t-types .ty-lead + .ty-cards { padding-top: 0; }
.t-types .ty-lead__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-areas: "title copy" "btns copy"; gap: 24px 64px; align-items: start; }
.t-types .ty-lead__title { grid-area: title; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; font-weight: 800; }
.t-types .ty-lead__copy { grid-area: copy; display: flex; flex-direction: column; gap: 16px; padding-top: 6px; }
.t-types .ty-lead__copy p { font-size: 17px; line-height: 1.7; }
.t-types .ty-lead__btns { grid-area: btns; }

/* NGO: plan + logos */
.t-types .ty-trust__in { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; }
.t-types .ty-trust__lead { font-size: 18px; line-height: 1.75; }
.t-types .ty-trust__label { margin-top: 16px; font: 700 13px/1.4 var(--n-font); letter-spacing: .08em; text-transform: uppercase; color: var(--n-ink-3); }
/* the red label of the current design (#FF0000 there); #E00000 keeps the look and passes WCAG AA (4.6:1) at 14px */
.t-types .ty-trust__label--accent { font: 600 14px/1.4 var(--n-font); letter-spacing: 0; text-transform: none; color: #E00000; }
.t-types .ty-trust__title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; }
.t-types .ty-trust__logos img { width: 100%; max-width: 640px; }

/* CTA band */
.t-types .ty-cta { padding-block: 56px; }
.t-types .ty-cta__card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; padding: 32px 36px;
  background: var(--n-grey); border: 1px solid var(--n-line); border-left: 6px solid var(--n-yellow); border-radius: var(--n-r-lg); }
.t-types .ty-cta__txt { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.t-types .ty-cta__txt h2 { font-size: clamp(23px, 2.6vw, 28px); line-height: 1.25; }

@media (max-width: 1024px) {
  .t-types .ty-pf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* NGO cards: three in a row down to 768px, then one in each row */
@media (max-width: 1024px) { .t-types .ty-cards__item { padding: 22px 18px 26px; } .t-types .ty-cards__item h3 { font-size: 18px; } }
@media (max-width: 767px) { .t-types .ty-cards__grid { grid-template-columns: minmax(0, 1fr); } }
/* small tablet: the illustration at the left of the text */
@media (min-width: 600px) and (max-width: 767px) {
  .t-types .ty-cards__item { display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 28px; row-gap: 8px; align-items: start; }
  .t-types .ty-cards__art { grid-row: 1 / span 2; margin: 0; align-self: center; }
  .t-types .ty-cards__item h3 { align-self: end; }
}
@media (max-width: 599px) { .t-types .ty-cards__art { max-width: 220px; } }
@media (max-width: 900px) {
  .t-types .ty-split__grid, .t-types .ty-feat__card { grid-template-columns: minmax(0, 1fr); }
  .t-types .ty-split--img-right .ty-split__pic { order: 0; }
  .t-types .ty-feat__copy { padding: 0 4px 6px; }
  .t-types .ty-lead__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "copy" "btns"; gap: 20px; }
}
@media (max-width: 767px) {
  .t-types .ty-intro { padding-bottom: 28px; }
  .t-types .ty-intro__head p { font-size: 16px; }
  .t-types .ty-intro__pic { margin-top: 28px; }
  .t-types .ty-split__pic img { max-width: 420px; }
  .t-types .ty-pf__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .t-types .ty-feat__card { padding: 14px; }
  .t-types .ty-cards__item { padding: 22px 20px 26px; }
  .t-types .ty-trust__lead { font-size: 16px; }
  .t-types .ty-trust__logos img { max-width: 420px; margin-inline: auto; }
  .t-types .ty-cta { padding-block: 36px; }
  .t-types .ty-cta__card { padding: 24px 20px; border-left-width: 5px; }
  .t-types .ty-cta__btns { width: 100%; flex-direction: column; align-items: stretch; }
  .t-types .ty-cta__btns .n-btn { width: calc(100% - 4px); }
}

/* ======================================================================================================================
   Frozen sizes (QA): type sizes, colours and column ratios of the frozen site (measured at 1440 / 768 / 390 px).
   Body text is ink (#1A1E22); the NGO page uses the #565656 text of its frozen design.
   ==================================================================================================================== */
.t-types .ty-split__copy p, .t-types .ty-feat__copy p, .t-types .ty-lead__copy p, .t-types .ty-cards__item p, .t-types .ty-trust__lead { color: var(--n-ink); }

/* intro: 32px title, 16px text */
.t-types .n-main > .ty-intro:first-child { padding-top: calc(var(--n-hdr-h) + 24px); }
.t-types .ty-intro__head { max-width: 730px; gap: 14px; }
.t-types .ty-intro__head h1 { font-size: 32px; line-height: 1; font-weight: 800; margin-bottom: 6px; }
.t-types .ty-intro__head p { font-size: 16px; line-height: 1.6; color: var(--n-ink); }
.t-types .ty-intro__pic { margin-top: 46px; padding-inline: 10px; }
.t-types .ty-intro__pic img { border: 0; border-radius: 0; }
.t-types .ty-show { padding-bottom: 20px; border-bottom: 0; }
.t-types .ty-show__pic { display: block; padding-inline: 10px; }
.t-types .ty-show + .ty-pf { padding-top: 30px; border-top: 0; }
.t-types .ty-show + .ty-split { padding-top: 120px; border-top: 0; }

/* split (image + copy): 1000px box, two equal columns, 432px image */
.t-types .ty-split__grid { max-width: 1000px; margin-inline: auto; gap: 30px 0; }
.t-types .ty-split__pic img { max-width: 432px; }
.t-types .ty-split__copy { gap: 20px; padding-inline: 10px; }
.t-types .ty-split__title { font-size: 32px; line-height: 1.3; font-weight: 800; margin-bottom: 0; }
.t-types .ty-split__sub { font-size: 22px; line-height: 1; margin-top: 15px; }
.t-types .ty-split__copy p { font-size: 16px; line-height: 1.6; }

/* CMS block: no card, 558 / 382 columns */
.t-types .ty-feat__title { max-width: 980px; margin-bottom: 30px; font-size: 22px; line-height: 1.3; }
.t-types .ty-feat__card { max-width: 960px; grid-template-columns: minmax(0, 558fr) minmax(0, 382fr); gap: 20px; align-items: start;
  padding: 0; background: none; border: 0; border-radius: 0; }
.t-types .ty-feat__copy { gap: 14px; padding: 0; }
.t-types .ty-feat__copy p { font-size: 16px; line-height: 1.6; }

/* portfolio label: a small text label (the h2 stays for the outline) */
.t-types .ty-pf__title { margin-bottom: 40px; padding-inline: 20px; font: 500 17px/1.3 var(--n-font); letter-spacing: 0; }

/* portfolio cards: the card style of the frozen site (same as the home cards) */
.t-types .ty-pf__card { gap: 0; padding: 20px 20px 16px; border-radius: 14px; }
.t-types .ty-pf__img { border-radius: 9px; }
.t-types .ty-pf__cat { margin-top: 33px; }
.t-types .ty-pf__name { margin-top: 4px; font-size: 17px; line-height: 1.3; font-weight: 600; }

/* ---------- NGO ---------- */
.t-types .ty-intro--big .ty-intro__head { max-width: 792px; gap: 20px; }
.t-types .ty-intro--big .ty-intro__head h1 { max-width: 760px; margin: 0 auto; font-size: 44px; line-height: 1.25; }
.t-types .ty-intro--big .ty-intro__head p { font-size: 18px; color: #565656; }
.t-types .n-main > .ty-intro--big:first-child { padding-top: calc(var(--n-hdr-h) + 14px); }
.t-types .ty-intro--big .ty-intro__pic { margin-top: 35px; padding-inline: 30px; }

.t-types .ty-lead, .t-types .ty-cards { background: #EEF6F8; }
.t-types .ty-lead { padding-top: 100px; padding-bottom: 0; }
.t-types .ty-lead__grid { grid-template-columns: minmax(0, 453fr) minmax(0, 607fr); gap: 24px 60px; padding-inline: 10px; }
.t-types .ty-lead__title { font-size: 50px; line-height: 1.1; font-weight: 800; }
.t-types .ty-lead__copy p { font-size: 18px; line-height: 1.6; color: #565656; }
.t-types .ty-lead + .ty-cards { padding-top: 100px; padding-bottom: 30px; }
.t-types .ty-cards__grid { gap: 10px; padding-inline: 15px; }
.t-types .ty-cards__item { padding: 50px; border: 0; border-radius: 0; background: #DEF0F3; }
.t-types .ty-cards__item:nth-child(2) { background: #EBF1FB; }
.t-types .ty-cards__item:nth-child(3) { background: #EAECFC; }
.t-types .ty-cards__item h3 { font-size: 20px; line-height: 1.2; }
.t-types .ty-cards__item p { font-size: 15px; line-height: 1.5; font-weight: 300; color: #565656; }

/* plan + logos, with the curved divider of the frozen design */
.t-types .ty-trust { overflow: hidden; padding-top: 151px; padding-bottom: 116px; }
.t-types .ty-wave { position: absolute; top: 0; left: 0; width: 100%; height: 800px; overflow: hidden; line-height: 0; transform: rotate(180deg); pointer-events: none; }
.t-types .ty-wave svg { position: relative; left: 50%; display: block; width: calc(300% + 1.3px); max-width: none; height: 800px; transform: translateX(-50%); fill: #EEF6F8; }
.t-types .ty-trust .ty-trust__in { position: relative; z-index: 1; max-width: 880px; gap: 20px; }
.t-types .ty-trust__title { font-size: 40px; line-height: 1.25; font-weight: 800; }
.t-types .ty-trust__lead { font-size: 22px; line-height: 1.6; color: #565656; }
.t-types .ty-trust__label--accent { margin-top: 15px; font-weight: 700; }
.t-types .ty-trust__logos { margin-top: -5px; }
.t-types .ty-trust__logos img { max-width: 638px; }

/* "Membuat Perbezaan": full-bleed image panel (60%) at the left, text at the right */
.t-types .ty-trust + .ty-split { padding-block: 0; border-top: 0; }
.t-types .ty-trust + .ty-split > .n-wrap { max-width: none; padding-inline: 0; }
.t-types .ty-trust + .ty-split .ty-split__grid { max-width: none; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); gap: 0; }
.t-types .ty-trust + .ty-split .ty-split__pic { align-self: stretch; display: flex; align-items: center; justify-content: center; padding: 5px 0 5px 30px;
  background: linear-gradient(180deg, #FFFFFF 0%, #D8DCE0 100%); }
.t-types .ty-trust + .ty-split .ty-split__pic img { max-width: 626px; }
.t-types .ty-trust + .ty-split .ty-split__copy { padding: 40px 50px; }
.t-types .ty-trust + .ty-split .ty-split__title { font-size: 50px; line-height: 1.1; }
.t-types .ty-trust + .ty-split .ty-split__copy p { font-size: 20px; line-height: 1.6; color: #565656; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .t-types .n-main > .ty-intro:first-child { padding-top: calc(var(--n-hdr-h) + 76px); }
  .t-types .ty-intro__head { max-width: 678px; }
  .t-types .ty-intro__pic, .t-types .ty-show__pic { padding-inline: 0; margin-inline: -10px; }
  .t-types .n-main > .ty-intro--big:first-child { padding-top: calc(var(--n-hdr-h) + 56px); }
  .t-types .ty-intro--big .ty-intro__head { max-width: 512px; }
  .t-types .ty-intro--big .ty-intro__head h1 { max-width: 448px; font-size: 36px; line-height: 1.2; }
  .t-types .ty-intro--big .ty-intro__head p { font-size: 16px; }
  .t-types .ty-intro--big .ty-intro__pic { margin-inline: calc(-1 * var(--n-gutter)); padding-inline: 0; }
  .t-types .ty-feat { padding-top: 121px; padding-bottom: 114px; }
  .t-types .ty-lead { padding-top: 30px; }
  .t-types .ty-lead__grid { grid-template-columns: minmax(0, 337fr) minmax(0, 391fr); gap: 20px; padding-inline: 0; }
  .t-types .ty-lead__title { font-size: 36px; line-height: 1.2; }
  .t-types .ty-lead__copy p { font-size: 16px; }
  .t-types .ty-cards__item { padding: 20px; }
  .t-types .ty-cards__item h3 { font-size: 20px; }
  .t-types .ty-trust__title { font-size: 32px; line-height: 1.5; }
  .t-types .ty-trust__lead { font-size: 18px; }
  .t-types .ty-trust__logos img { max-width: 494px; }
  .t-types .ty-trust + .ty-split .ty-split__copy { padding: 30px 20px; }
  .t-types .ty-trust + .ty-split .ty-split__title { font-size: 36px; line-height: 1.2; }
  .t-types .ty-trust + .ty-split .ty-split__copy p { font-size: 18px; }
}
/* two columns down to 768px, as on the frozen site */
@media (min-width: 768px) and (max-width: 900px) {
  .t-types .ty-split__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .t-types .ty-split--img-right .ty-split__pic { order: 2; }
  .t-types .ty-feat__card { grid-template-columns: minmax(0, 421fr) minmax(0, 286fr); }
  .t-types .ty-lead__grid { grid-template-columns: minmax(0, 337fr) minmax(0, 391fr); grid-template-areas: "title copy" "btns copy"; }
  .t-types .ty-trust + .ty-split .ty-split__grid { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  .t-types .n-main > .ty-intro:first-child { padding-top: calc(var(--n-hdr-h) + 160px); }
  .t-types .ty-intro__pic, .t-types .ty-show__pic { margin-inline: -12px; }
  .t-types .ty-split__title { font-size: 26px; }
  .t-types .ty-split__sub { font-size: 22px; line-height: 1.3; }
  .t-types .ty-split__pic img { max-width: 333px; }
  .t-types .ty-feat__title { margin-inline: -12px; }
  .t-types .ty-feat__card { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .t-types .ty-split__copy { padding-inline: 0; }
  .t-types .ty-split { padding-bottom: 98px; }
  .t-types .ty-feat { padding-top: 97px; }
  .t-types .ty-intro__head h1 { margin-bottom: 26px; }
  .t-types .ty-feat__copy { padding-inline: 10px; }
  .t-types .ty-pf__title { padding-inline: 0; }
  .t-types .ty-pf__grid { margin-inline: -12px; gap: 10px; }
  .t-types .ty-pf__card { padding: 6px 6px 12px; border-radius: 12px; }
  .t-types .ty-pf__cat { margin-top: 30px; font-size: 13px; }
  .t-types .ty-pf__name { margin-top: 5px; font-size: 15px; }
  .t-types .n-main > .ty-intro--big:first-child { padding-top: calc(var(--n-hdr-h) + 40px); }
  .t-types .ty-intro--big .ty-intro__head { max-width: none; }
  .t-types .ty-intro--big .ty-intro__head h1 { max-width: none; }
  .t-types .ty-intro--big .ty-intro__head p { padding-inline: 10px; }
  .t-types .ty-intro--big .ty-intro__pic { margin-inline: 0; }
  .t-types .ty-lead { padding-top: 30px; padding-bottom: 30px; }
  .t-types .ty-lead__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "copy" "btns"; gap: 58px; padding-inline: 8px; }
  .t-types .ty-lead + .ty-cards { padding-top: 30px; padding-bottom: 10px; }
  .t-types .ty-cards__grid { padding-inline: 3px; }
  .t-types .ty-cards__art { max-width: 300px; }
  .t-types .ty-trust { padding-top: 100px; padding-bottom: 126px; }
  .t-types .ty-trust .ty-trust__in { text-align: center; align-items: center; }
  .t-types .ty-trust__title { font-size: 36px; line-height: 1.2; }
  .t-types .ty-trust__lead { font-size: 18px; }
  .t-types .ty-trust__label--accent { font-size: 12px; }
  .t-types .ty-trust__logos img { max-width: 310px; }
  .t-types .ty-trust + .ty-split { padding-block: 20px; }
  .t-types .ty-trust + .ty-split > .n-wrap { padding-inline: var(--n-gutter); }
  .t-types .ty-trust + .ty-split .ty-split__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .t-types .ty-trust + .ty-split .ty-split__pic { padding: 15px; }
  .t-types .ty-trust + .ty-split .ty-split__pic img { max-width: 320px; }
  .t-types .ty-trust + .ty-split .ty-split__copy { padding: 0; text-align: center; align-items: center; }
  .t-types .ty-trust + .ty-split .ty-split__title { padding-inline: 18px; margin-bottom: 20px; }
  .t-types .ty-trust + .ty-split .ty-split__copy p { font-size: 16px; }
}

/* top band, design D (the same as the home hero): yellow band, large left title, dark + white buttons; the showcase
   picture right after the title stays on the yellow band */
.t-types .ty-intro, .t-types .ty-intro + .ty-show { background: var(--n-yellow); }
.t-types .n-main > .ty-intro:first-child, .t-types .n-main > .ty-intro--big:first-child { padding-top: calc(var(--n-hdr-h) + 72px); padding-bottom: 48px; }
.t-types .ty-intro__head, .t-types .ty-intro--big .ty-intro__head { max-width: 760px; margin-inline: 0; text-align: left; gap: 16px; }
.t-types .ty-intro__head h1, .t-types .ty-intro--big .ty-intro__head h1 { max-width: none; margin: 0 0 4px; font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.04; font-weight: 800; letter-spacing: -.03em; color: var(--n-ink); }
.t-types .ty-intro__head p, .t-types .ty-intro--big .ty-intro__head p { padding-inline: 0; font-size: 18px; line-height: 1.55; color: var(--n-ink); }
.t-types .ty-intro__btns { margin-top: 14px; gap: 12px 16px; }
.t-types .ty-intro__btns > .n-btn { box-shadow: none; }
.t-types .ty-intro__btns > .n-btn--primary { background: var(--n-ink); color: var(--n-white); }
.t-types .ty-intro__btns > .n-btn--primary:hover, .t-types .ty-intro__btns > .n-btn--primary:focus-visible { background: var(--n-ink-2); color: var(--n-white); }
.t-types .ty-intro__btns > .n-btn--secondary { background: var(--n-white); }
.t-types .ty-intro + .ty-show { padding-top: 0; padding-bottom: 56px; }
.t-types .ty-intro__pic img { border-radius: var(--n-r-lg); }
@media (max-width: 1024px) {
  .t-types .n-main > .ty-intro:first-child, .t-types .n-main > .ty-intro--big:first-child { padding-top: calc(var(--n-hdr-h) + 56px); padding-bottom: 36px; }
}
@media (max-width: 767px) {
  .t-types .n-main > .ty-intro:first-child, .t-types .n-main > .ty-intro--big:first-child { padding-top: calc(var(--n-hdr-h) + 36px); padding-bottom: 28px; }
  .t-types .ty-intro__head h1, .t-types .ty-intro--big .ty-intro__head h1 { font-size: clamp(34px, 10.3vw, 48px); margin-bottom: 0; }
  .t-types .ty-intro__head p, .t-types .ty-intro--big .ty-intro__head p { font-size: 17px; }
  .t-types .ty-intro--big .ty-intro__head h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .t-types .ty-intro__btns { flex-wrap: nowrap; gap: 10px; margin-top: 12px; }
  .t-types .ty-intro__btns > .n-btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; }
  .t-types .ty-intro + .ty-show { padding-bottom: 36px; }
}

/* 25-process.css */
/* /proses/ (template "process": web/src/native/templates/Process.astro). Every rule starts with .t-process. */

/* ---------- title, intro, phase overview ---------- */
.t-process .pr-intro { padding-top: 14px; padding-bottom: 24px; }
.t-process .pr-intro__title { font-size: 32px; line-height: 1.3; font-weight: 800; }
.t-process .pr-intro__lead { max-width: 570px; margin-top: 20px; }
.t-process .pr-intro__lead p { color: var(--n-ink); font-size: 16px; line-height: 1.6; }
.t-process .pr-intro__lead p + p { margin-top: 12px; }
.t-process .pr-nav { margin-top: 22px; }
.t-process .pr-nav__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.t-process .pr-nav__list > li { display: flex; }
.t-process .pr-nav__card { display: flex; flex-direction: column; gap: 8px; width: 100%; min-height: 124px; padding: 14px; background: var(--n-white);
  border: 1px solid var(--n-line); border-radius: 12px; color: var(--n-ink); text-decoration: none;
  transition: border-color var(--n-dur) ease, background-color var(--n-dur) ease; }
.t-process .pr-nav__card:hover, .t-process .pr-nav__card:focus-visible { border-color: var(--n-yellow); background: var(--n-cream); }
.t-process .pr-nav__card:focus-visible { outline: 3px solid var(--n-ink); outline-offset: 3px; }
.t-process .pr-nav__no { align-self: flex-start; padding: 4px 8px; background: var(--n-yellow); border-radius: 6px; font: 700 14px/21px var(--n-font); }
.t-process .pr-nav__t { font: 600 14px/1.35 var(--n-font); }

/* ---------- the phases ---------- */
.t-process .pr-steps { padding-bottom: 40px; }
.t-process .pr-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; padding-block: 32px; }
.t-process .pr-step + .pr-step { border-top: 1px solid var(--n-line); }
.t-process .pr-step--flip .pr-step__txt { order: 2; }
.t-process .pr-step--flip .pr-step__art { order: 1; }
.t-process .pr-step__no { display: inline-block; padding: 10px; background: var(--n-yellow); color: #000; font: 600 60px/1.18 var(--n-font);
  font-variant-numeric: tabular-nums; }
.t-process .pr-step__title { margin-top: 20px; font-size: 24px; line-height: 34px; font-weight: 700; }
.t-process .pr-step__body { margin-top: 20px; }
.t-process .pr-step__body p { color: var(--n-ink); font-size: 16px; line-height: 1.6; }
.t-process .pr-step__body p + p { margin-top: 14px; }
.t-process .pr-step__art { position: relative; justify-self: center; width: min(100%, 340px); aspect-ratio: 1; }
.t-process .pr-step__art img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s ease; }
.t-process .pr-step__anim { position: absolute; inset: 0; }
.t-process .pr-step__anim svg { width: 100% !important; height: 100% !important; }
.t-process .pr-step__art.is-live img { opacity: 0; }

/* ---------- video testimonials ---------- */
.t-process .pr-testi { background: #EBF5F5; /* the testimonial band colour */ padding-block: 112px 80px; }
.t-process .pr-testi__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.t-process .pr-testi__head h2 { font-size: 44px; line-height: 1.2; font-weight: 800; text-wrap: balance; }
.t-process .pr-testi__head p { max-width: 680px; margin: 20px auto 0; color: var(--n-ink-2); font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.t-process .pr-testi__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0 10px; list-style: none; }
.t-process .pr-vid { margin: 0; }
.t-process .pr-vid__box { position: relative; aspect-ratio: 16 / 9; background: var(--n-ink); border: var(--n-bw) solid var(--n-ink); box-shadow: var(--n-shadow); overflow: hidden; }
.t-process .pr-vid__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.t-process .pr-vid__play { position: absolute; inset: 0; display: block; }
.t-process .pr-vid__play img { width: 100%; height: 100%; object-fit: cover; }
.t-process .pr-vid__btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(26, 30, 34, .78); color: var(--n-yellow); transition: transform var(--n-dur) var(--n-ease), background-color var(--n-dur) ease; }
.t-process .pr-vid__btn svg { width: 30px; height: 30px; margin-left: 4px; }
.t-process .pr-vid__play:hover .pr-vid__btn, .t-process .pr-vid__play:focus-visible .pr-vid__btn { transform: scale(1.08); background: var(--n-ink); }
.t-process .pr-vid__play:focus-visible { outline: 3px solid var(--n-yellow); outline-offset: -6px; }
.t-process .pr-vid__cap { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.t-process .pr-vid__logo { width: auto; max-width: 72px; max-height: 60px; flex: none; }
.t-process .pr-vid__who { display: flex; flex-direction: column; color: var(--n-ink); font: 500 15px/22px var(--n-font); }

/* ---------- CTA band ---------- */
.t-process .pr-cta { padding-block: 56px; }
.t-process .pr-cta__card { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 32px 36px;
  background: var(--n-grey); border: 1px solid var(--n-line); border-left: 6px solid var(--n-yellow); border-radius: var(--n-r-lg); }
.t-process .pr-cta__txt { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.t-process .pr-cta__txt h2 { font-size: 28px; line-height: 1.25; }
.t-process .pr-cta__p { font-size: 16px; line-height: 1.55; }
.t-process .pr-cta__btns { flex: none; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .t-process .pr-intro { padding-top: 66px; /* the tablet header is shorter: keep the title 150px from the top */ }
  .t-process .pr-nav__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t-process .pr-nav__card { min-height: 0; }
  .t-process .pr-step { gap: 36px; }
  .t-process .pr-testi { padding-block: 80px; }
  .t-process .pr-testi__head { margin-bottom: 48px; }
  .t-process .pr-testi__head h2 { font-size: 36px; line-height: 1.3; }
  .t-process .pr-testi__head p { margin-top: 20px; }
  .t-process .pr-testi__list { padding: 0; gap: 16px; }
  .t-process .pr-vid__cap { gap: 12px; }
  .t-process .pr-vid__logo { max-width: 56px; max-height: 48px; }
  .t-process .pr-cta__card { flex-direction: column; align-items: flex-start; }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  .t-process .pr-intro { padding-top: 20px; }
  .t-process .pr-intro__title { font-size: 34px; line-height: 1.2; }
  .t-process .pr-intro__lead { margin-top: 18px; }
  .t-process .pr-nav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .t-process .pr-nav__card { padding: 12px; }
  .t-process .pr-step { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 32px; }
  .t-process .pr-step--flip .pr-step__txt, .t-process .pr-step--flip .pr-step__art { order: 0; }
  .t-process .pr-step__art { width: min(100%, 260px); }
  .t-process .pr-steps { padding-bottom: 16px; }
  .t-process .pr-testi { padding-block: 64px 56px; }
  .t-process .pr-testi__head { margin-bottom: 36px; }
  .t-process .pr-testi__head h2 { font-size: 27px; line-height: 1.2; }
  .t-process .pr-testi__head p { margin-top: 16px; font-size: 17px; }
  .t-process .pr-testi__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .t-process .pr-vid__cap { margin-top: 16px; }
  .t-process .pr-cta { padding-block: 40px; }
  .t-process .pr-cta__card { padding: 24px 20px; }
  .t-process .pr-cta__txt h2 { font-size: 24px; }
  .t-process .pr-cta__btns { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .t-process .pr-vid__play:hover .pr-vid__btn, .t-process .pr-vid__play:focus-visible .pr-vid__btn { transform: none; }
}

/* 30-faq.css */
/* Native /soalan-lazim/ (template "faq"). Markup: web/src/native/templates/Faq.astro + components/faq/. */

/* ---------- title + intro (white) ---------- */
.t-faq .faq-top { padding-top: 14px; padding-bottom: 48px; }
.t-faq .faq-top__title { font-size: 32px; line-height: 42px; font-weight: 800; letter-spacing: -.02em; }
.t-faq .faq-top__intro { max-width: 613px; margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--n-ink); }

/* ---------- FAQ groups: 2 x 2 on desktop, 1 column on phones ---------- */
.t-faq .faq-body { padding-top: 56px; padding-bottom: 92px; }
.t-faq .faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 92px 40px; align-items: start; }
.t-faq .faq-group__title { font-size: 32px; line-height: 42px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.t-faq .faq-group__list { display: grid; gap: 12px; }

.t-faq .faq-item { background: var(--n-white); border: 1px solid var(--n-line); border-radius: var(--n-r-md);
  transition: border-color var(--n-dur) var(--n-ease); }
.t-faq .faq-item:hover, .t-faq .faq-item[open] { border-color: var(--n-yellow); }
.t-faq .faq-item__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px;
  font: 600 17px/1.4 var(--n-font); color: var(--n-ink); cursor: pointer; list-style: none; border-radius: var(--n-r-md); }
.t-faq .faq-item__q::-webkit-details-marker { display: none; }
.t-faq .faq-item__q::marker { content: ''; }
.t-faq .faq-item__ico { width: 20px; height: 20px; flex: none; color: var(--n-ink-3); transition: transform var(--n-dur) var(--n-ease); }
.t-faq .faq-item[open] .faq-item__ico { transform: rotate(180deg); color: var(--n-ink); }
.t-faq .faq-item__a { padding: 0 20px 18px; font-size: 16px; line-height: 1.6; color: var(--n-ink-2); }
.t-faq .faq-item__a > * + * { margin-top: 12px; }
.t-faq .faq-item__a :where(ul, ol) { padding-left: 1.3em; }
.t-faq .faq-item__a li + li { margin-top: 4px; }

/* ---------- testimonial band ---------- */
/* #EBF5F5: the testimonial band colour; not in the tokens */
.t-faq .faq-testi { --faq-testi-bg: #EBF5F5; background: var(--faq-testi-bg); padding: 130px 0 124px; }
.t-faq .faq-testi__head { max-width: 760px; margin: 0 auto; text-align: center; }
.t-faq .faq-testi__head h2 { font-size: 44px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.t-faq .faq-testi__head p { max-width: 680px; margin: 20px auto 0; font-size: 19px; line-height: 1.55; color: var(--n-ink-2); text-wrap: pretty; }
.t-faq .faq-testi__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 75px; padding: 0 10px; }
.t-faq .faq-testi__video { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--n-ink);
  border: var(--n-bw) solid var(--n-ink); border-radius: var(--n-r-btn); box-shadow: var(--n-shadow); }
.t-faq .faq-testi__video img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--n-ease); }
.t-faq a.faq-testi__video:hover img { transform: scale(1.03); }
.t-faq .faq-testi__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(26, 30, 34, .78); color: var(--n-yellow);
  transition: background-color var(--n-dur) var(--n-ease), transform var(--n-dur) var(--n-ease); }
.t-faq .faq-testi__play svg { width: 24px; height: 24px; margin-left: 4px; }
.t-faq a.faq-testi__video:hover .faq-testi__play, .t-faq a.faq-testi__video:focus-visible .faq-testi__play { background: var(--n-ink); transform: scale(1.08); }
.t-faq .faq-testi__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.t-faq .faq-testi__who { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.t-faq .faq-testi__logo { width: auto; height: auto; max-width: 72px; max-height: 60px; flex: none; }
.t-faq .faq-testi__who p { font: 500 15px/22px var(--n-font); color: var(--n-ink); }
.t-faq .faq-testi__who span { display: block; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .t-faq .faq-grid { gap: 64px 28px; }
  /* the frozen page keeps the 44/60 px heading and the 130 px top space on tablets */
  .t-faq .faq-testi__list { gap: 16px; padding: 0; }
  .t-faq .faq-testi__who { gap: 12px; }
}
/* ---------- phone ---------- */
@media (max-width: 767px) {
  .t-faq .faq-top { padding-top: 20px; padding-bottom: 36px; }
  .t-faq .faq-body { padding-top: 44px; padding-bottom: 70px; }
  .t-faq .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 62px; }
  .t-faq .faq-item__q { padding: 16px; font-size: 16px; }
  .t-faq .faq-item__a { padding: 0 16px 16px; font-size: 15.5px; }
  .t-faq .faq-testi { padding: 116px 0 110px; }
  .t-faq .faq-testi__head h2 { font-size: 27.3px; line-height: 1.2; }
  .t-faq .faq-testi__head p { margin-top: 16px; font-size: 17px; }
  .t-faq .faq-testi__list { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 55px; }
  .t-faq .faq-testi__who { gap: 20px; }
  .t-faq .faq-testi__who p { font-size: 16px; }
}

/* 35-contact.css */
/* Native contact page /hubungi/ (templates/Contact.astro, components/contact/*). Every rule starts with .t-contact.
   Bands: heading + form | sticky Google Maps embed (office card: address, Google Maps, Waze), video testimonials. Form state classes (browser script and functions/hubungi/index.js):
   .is-error, .ct-err, .ct-summary, .ct-done. */

/* ---------- band 1: form | map ---------- */
.t-contact .n-main > .ct-hero.n-sec--hero:first-child { padding-top: 0; padding-bottom: 0; background: var(--n-white); }
.t-contact .ct-hero__grid { display: grid; grid-template-columns: minmax(var(--n-gutter), 1fr) minmax(0, calc(var(--n-wrap) / 2)) minmax(0, calc(var(--n-wrap) / 2)) minmax(var(--n-gutter), 1fr); }
.t-contact .ct-hero__main { grid-column: 2; min-width: 0; padding: calc(var(--n-hdr-h) + 8px) 48px 72px 0; }
.t-contact .ct-hero__map { grid-column: 3 / 5; position: relative; min-width: 0; }
@media (max-width: 1099px) {
  .t-contact .ct-hero__grid { display: block; }
  .t-contact .ct-hero__main { max-width: calc(600px + 2 * var(--n-gutter)); margin-inline: auto; padding: calc(var(--n-hdr-h) + 48px) var(--n-gutter) 64px; }
}
@media (max-width: 767px) { .t-contact .ct-hero__main { padding-top: calc(var(--n-hdr-h) + 32px); padding-bottom: 48px; } }

.t-contact .ct-head { margin-bottom: 24px; }
.t-contact .ct-head h1 { margin: 8px 0; font-size: clamp(28px, 3vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.t-contact .ct-head__lead { font-size: 15.5px; line-height: 1.6; color: var(--n-ink-2); }

/* ---------- the form ---------- */
.t-contact .ct-fields { display: flex; flex-direction: column; gap: 17px; }
.t-contact .ct-field { min-width: 0; }
/* display:flex (not inline-flex): an inline label sat 5px low on the line box of the field */
.t-contact .ct-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 7px; font: 600 14.5px/17px var(--n-font); color: var(--n-ink); }
.t-contact .ct-req { display: inline-block; padding: 0 7px; border-radius: 999px; background: #FDECEA; color: #9A2A1B; font-size: 11px; font-weight: 600; line-height: 1.5; }
.t-contact .ct-desc { margin: 12px 0 17px; font-size: 13.5px; line-height: 1.5; color: var(--n-ink-3); }
.t-contact .ct-desc a { color: var(--n-ink); font-weight: 600; text-decoration: underline 2px var(--n-yellow); text-underline-offset: 3px; }
.t-contact .ct-desc a:hover { text-decoration-color: var(--n-ink); }
.t-contact .ct-ctl { position: relative; }
.t-contact .ct-input { display: block; width: 100%; min-height: 46px; margin: 0; padding: 11px 13px; font: 400 16px/1.4 var(--n-font); color: var(--n-ink);
  background: var(--n-white); border: 1px solid var(--n-line-2); border-radius: var(--n-r-md); box-shadow: none; -webkit-appearance: none; appearance: none;
  transition: border-color var(--n-dur) ease; }
.t-contact .ct-input::placeholder { color: var(--n-ink-3); opacity: 1; }
.t-contact .ct-input:hover { border-color: #AEB7C0; }
.t-contact .ct-input:focus { border-color: var(--n-ink); outline: none; box-shadow: 0 0 0 3px var(--n-yellow); }
.t-contact .ct-input--select { padding-right: 42px; cursor: pointer; text-overflow: ellipsis; }
.t-contact .ct-input--area { height: 192px; min-height: 120px; resize: vertical; }
/* 16px at all widths (as the frozen site): iOS Safari zooms on focus when a field has text below 16px */
.t-contact .ct-ctl__chev { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--n-ink-2); pointer-events: none; }
.t-contact .ct-ctl__chev svg { width: 100%; height: 100%; }
/* honeypot (field 13): never shown, never in the tab order */
.t-contact .ct-hp { display: none !important; }

.t-contact .ct-form__foot { margin-top: 50px; }
.t-contact .ct-submit { font-weight: 600; }
.t-contact .ct-submit.is-busy { cursor: progress; opacity: .8; }
.t-contact .ct-note { margin-top: 20px; font-size: 12.5px; line-height: 1.6; color: var(--n-ink-3); }
.t-contact .ct-note a { font-weight: 600; }
@media (max-width: 767px) { .t-contact .ct-submit { display: flex; width: 100%; } }

/* errors: from the browser script (.ct-err) and from the answer page of the function (same classes) */
.t-contact .is-error .ct-input { border-color: #B42318; background: #FFFBFA; }
.t-contact .is-error .ct-input:focus { box-shadow: 0 0 0 3px #FDECEA; border-color: #B42318; }
.t-contact .is-error .ct-label { color: #9A2A1B; }
.t-contact .ct-err { margin-top: 6px; padding-left: 22px; font-size: 13.5px; line-height: 1.45; font-weight: 500; color: #9A2A1B;
  background: no-repeat left 1px / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A2A1B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z'/%3E%3C/svg%3E"); }
.t-contact .ct-summary { margin-bottom: 22px; padding: 14px 16px; border: 2px solid #9A2A1B; border-radius: var(--n-r-md); background: #FDECEA; }
.t-contact .ct-summary:focus { outline: 3px solid var(--n-ink); outline-offset: 3px; }
.t-contact .ct-summary h2 { font: 600 15px/1.45 var(--n-font); letter-spacing: 0; color: #9A2A1B; }
.t-contact .ct-done { padding: 22px 24px; border: var(--n-bw) solid var(--n-ink); border-radius: var(--n-r-md); background: var(--n-cream);
  box-shadow: var(--n-shadow); font-size: 17px; line-height: 1.55; font-weight: 600; color: var(--n-ink); }
.t-contact .ct-done:focus { outline: 3px solid var(--n-ink); outline-offset: 4px; }
/* reCAPTCHA v3: the badge stays hidden; the notice under the button names Google's terms (Google allows this) */
.t-contact .grecaptcha-badge { visibility: hidden; }

/* ---------- map (Google Maps embed) ---------- */
.t-contact .ct-map { position: relative; background: var(--n-blue); }
.t-contact .ct-map__media { position: relative; overflow: hidden; height: clamp(280px, 46vw, 420px); }
.t-contact .ct-map__media iframe { display: block; width: 100%; height: 100%; border: 0; }
.t-contact .ct-map__card { position: absolute; left: 16px; bottom: 64px; z-index: 1; display: flex; flex-direction: column; gap: 4px; width: min(380px, calc(100% - 32px));
  padding: 14px 16px; background: var(--n-white); border: 1px solid var(--n-line); border-radius: 12px; }
.t-contact .ct-map__name { font: 600 15.5px/1.5 var(--n-font); color: var(--n-ink); }
.t-contact .ct-map__addr { font-size: 13.5px; line-height: 1.5; color: var(--n-ink-2); }
.t-contact .ct-map__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.t-contact .ct-map__link { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 14px; font-weight: 500; color: var(--n-ink); text-decoration: none; }
.t-contact .ct-map__link svg { width: 15px; height: 15px; transition: transform .25s var(--n-ease); }
.t-contact .ct-map__link:hover { text-decoration: underline 2px var(--n-yellow); text-underline-offset: 3px; }
.t-contact .ct-map__link:hover svg { transform: translate(2px, -2px); }
/* wide screens: the map fills the right half and stays in view while the form scrolls */
@media (min-width: 1100px) {
  .t-contact .ct-map { position: sticky; top: 0; height: 100vh; height: 100dvh; max-height: 100%; }
  .t-contact .ct-hero__map { display: flex; flex-direction: column; }
  .t-contact .ct-hero__map .ct-map { flex: none; }
  /* the map starts under the fixed header, so the Google place card (top left) stays visible */
  .t-contact .ct-map__media { height: 100%; box-sizing: border-box; padding-top: calc(var(--n-hdr-h) + 8px); }
}
/* phones: the card goes under the map */
@media (max-width: 599px) {
  .t-contact .ct-map__media { height: 300px; }
  .t-contact .ct-map__card { position: relative; left: auto; bottom: auto; width: auto; margin: 12px var(--n-gutter) 0; }
  .t-contact .ct-map { padding-bottom: 8px; background: var(--n-white); }
}


/* ---------- band 3: video testimonials ---------- */
/* the testimonial band colour: #EBF5F5 */
.t-contact .ct-testis.n-sec--hero { background: #EBF5F5; }
.t-contact .ct-testis__head { max-width: 880px; margin-bottom: 72px; }
.t-contact .ct-testis__head .n-head__title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.32; }
.t-contact .ct-testis__head .n-head__intro, .t-contact .ct-testis__head .n-head__intro p { max-width: 750px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--n-ink); }
.t-contact .ct-testis__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.t-contact .ct-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--n-ink); border: var(--n-bw) solid var(--n-ink);
  border-radius: var(--n-r-md); box-shadow: var(--n-shadow); }
.t-contact .ct-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.t-contact .ct-video__btn { display: block; position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.t-contact .ct-video__btn:focus-visible { outline-offset: -6px; outline-color: var(--n-yellow); }
.t-contact .ct-video__poster { width: 100%; height: 100%; object-fit: cover; }
.t-contact .ct-video__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: rgba(26, 30, 34, .78); color: var(--n-yellow); transition: background-color var(--n-dur) ease, color var(--n-dur) ease, transform .25s var(--n-ease); }
.t-contact .ct-video__play svg { width: 28px; height: 28px; margin-left: 4px; }
.t-contact .ct-video__btn:hover .ct-video__play, .t-contact .ct-video__btn:focus-visible .ct-video__play { background: var(--n-yellow); color: var(--n-ink); transform: scale(1.06); }
.t-contact .ct-testi__who { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.t-contact .ct-testi__logo { display: flex; align-items: center; justify-content: center; flex: none; width: 72px; height: 52px; }
.t-contact .ct-testi__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.t-contact .ct-testi__name { display: flex; flex-direction: column; font-size: 15px; line-height: 1.45; color: var(--n-ink); }
.t-contact .ct-testi__name b { font-weight: 600; }
.t-contact .ct-testi__name span { color: var(--n-ink-2); }
@media (max-width: 1023px) { .t-contact .ct-testis__grid { gap: 28px 16px; } .t-contact .ct-testi__logo { width: 56px; height: 44px; } }
@media (max-width: 767px) {
  .t-contact .ct-testis__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 520px; margin-inline: auto; }
  .t-contact .ct-testis__head { margin-bottom: 48px; }
  .t-contact .ct-testis { padding-top: 96px; }
}

/* 40-portfolio-item.css */
/* ---------- portfolio item (/portfolio/<slug>/): web/src/native/templates/PortfolioItem.astro ---------- */
.t-portfolio-item { --pi-mint: #EBF5F5; --pi-pill: #FFF4C2; --pi-pill-ink: #5C4A00; }

/* top band (design C): blue band under the header, back link, kicker + title, screenshot in a browser frame, 2 buttons */
.t-portfolio-item .n-main > .pi-top:first-child { padding-top: calc(var(--n-hdr-h) + 34px); padding-bottom: 56px; }
.t-portfolio-item .pi-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--n-ink); font: 600 15px/1.3 var(--n-font);
  text-decoration: none; }
.t-portfolio-item .pi-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.t-portfolio-item .pi-back__ico { width: 18px; height: 18px; flex: none; transition: transform .25s var(--n-ease); }
.t-portfolio-item .pi-back:hover .pi-back__ico { transform: translateX(-3px); }
.t-portfolio-item .pi-kicker { margin-top: 18px; font: 700 13px/1.4 var(--n-font); letter-spacing: .06em; text-transform: uppercase; color: var(--n-ink-2); }
.t-portfolio-item .pi-title { margin-top: 8px; font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }

/* browser frame: a toolbar with 3 dots + the client host, then the screenshot that scrolls inside */
.t-portfolio-item .pi-browser { margin-top: 30px; background: var(--n-white); border: 2px solid var(--n-ink); border-radius: var(--n-r-lg); overflow: hidden;
  box-shadow: 0 16px 30px -12px rgba(26, 30, 34, .35); }
.t-portfolio-item .pi-browser__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #F6F8FB; border-bottom: 1px solid var(--n-line); }
.t-portfolio-item .pi-browser__dots { display: flex; gap: 6px; flex: none; }
.t-portfolio-item .pi-browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2685F; }
.t-portfolio-item .pi-browser__dots i:nth-child(2) { background: #E9B73E; }
.t-portfolio-item .pi-browser__dots i:nth-child(3) { background: #5DBB63; }
.t-portfolio-item .pi-browser__url { flex: 1 1 auto; min-width: 0; max-width: 520px; margin-inline: auto; padding: 5px 12px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; background: var(--n-white); border: 1px solid var(--n-line); border-radius: 6px; font: 400 13px/1.3 var(--n-font); color: var(--n-ink-2); text-align: center; }
.t-portfolio-item .pi-shot__frame { max-height: 640px; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: var(--n-grey); }
.t-portfolio-item .pi-shot__frame:focus-visible { outline: 3px solid var(--n-yellow); outline-offset: -3px; }
.t-portfolio-item .pi-shot__frame img { display: block; width: 100%; height: auto; }
.t-portfolio-item .pi-shot__cap { margin-top: 12px; font-size: 14px; line-height: 1.4; color: var(--n-ink-2); text-align: center; }
.t-portfolio-item .pi-actions { display: flex; justify-content: center; gap: 16px; margin-top: 22px; }
.t-portfolio-item .pi-act { min-width: 220px; }
.t-portfolio-item .pi-act--dark { background: var(--n-ink); color: var(--n-white); box-shadow: none; }
.t-portfolio-item .pi-act--dark:hover, .t-portfolio-item .pi-act--dark:focus-visible { background: var(--n-ink-2); color: var(--n-white); }
.t-portfolio-item .pi-act:not(.pi-act--dark) { box-shadow: none; }

/* write-up + facts box */
.t-portfolio-item .pi-about { padding-top: 64px; padding-bottom: 72px; }
.t-portfolio-item .pi-intro { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 40px 80px; align-items: start; }
.t-portfolio-item .pi-about__title { font-size: 26px; line-height: 1.2; font-weight: 800; margin-bottom: 20px; }
.t-portfolio-item .pi-writeup { max-width: 740px; }
.t-portfolio-item .pi-writeup p { font-size: 16px; line-height: 1.6; color: var(--n-ink-2); }
.t-portfolio-item .pi-writeup p + p { margin-top: 20px; }
.t-portfolio-item .pi-writeup a { color: var(--n-ink); font-weight: 600; text-decoration: underline 2px var(--n-yellow); text-underline-offset: 3px; }

/* facts box */
.t-portfolio-item .pi-info { background: var(--pi-mint); border-radius: var(--n-r-lg); padding: 34px 28px; text-align: center; }
.t-portfolio-item .pi-info__list { margin: 0; }
.t-portfolio-item .pi-info__row { padding: 22px 0; }
.t-portfolio-item .pi-info__row:first-child { padding-top: 0; }
.t-portfolio-item .pi-info__row:last-child { padding-bottom: 0; }
.t-portfolio-item .pi-info__row + .pi-info__row { border-top: 1px solid rgba(26, 30, 34, .1); }
.t-portfolio-item .pi-info dt { font-size: 14px; line-height: 1.3; color: var(--n-ink); margin-bottom: 12px; }
.t-portfolio-item .pi-info dd { margin: 0; font: 700 16px/1.35 var(--n-font-head); letter-spacing: -.02em; color: var(--n-ink); }
.t-portfolio-item .pi-info__note { font-family: var(--n-font); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--n-ink-2); }
.t-portfolio-item .pi-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.t-portfolio-item .pi-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--n-line-2);
  border-radius: 999px; background: var(--n-white); color: var(--n-ink); font: 600 15px/1.25 var(--n-font-head); letter-spacing: -.01em;
  text-decoration: none; transition: border-color var(--n-dur) ease, background-color var(--n-dur) ease; }
.t-portfolio-item a.pi-pill:hover, .t-portfolio-item a.pi-pill:focus-visible { border-color: var(--n-yellow); background: var(--n-yellow-soft); }
.t-portfolio-item .pi-pill--plain { background: transparent; border-color: transparent; }
.t-portfolio-item .pi-site { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--n-ink); text-decoration: underline 1px;
  text-underline-offset: 5px; overflow-wrap: anywhere; }
.t-portfolio-item .pi-site:hover { text-decoration-color: var(--n-yellow-hover); text-decoration-thickness: 2px; }
.t-portfolio-item .pi-site__ico { width: 16px; height: 16px; flex: none; }

/* image gallery (in place of the screenshot on one item) */
.t-portfolio-item .pi-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.t-portfolio-item .pi-gallery__item { display: block; aspect-ratio: 2 / 1; overflow: hidden; border: 1px solid var(--n-line); border-radius: var(--n-r-md);
  background: var(--n-grey); cursor: zoom-in; transition: border-color var(--n-dur) ease; }
.t-portfolio-item .pi-gallery__item:hover, .t-portfolio-item .pi-gallery__item:focus-visible { border-color: var(--n-yellow); }
.t-portfolio-item .pi-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) { .t-portfolio-item .pi-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 767px) { .t-portfolio-item .pi-gallery { grid-template-columns: minmax(0, 1fr); margin-top: 48px; } }

/* related items */
.t-portfolio-item .pi-related { padding-top: 50px; padding-bottom: 80px; }
.t-portfolio-item .pi-related__title { font-size: 22px; line-height: 1.2; margin-bottom: 30px; }
.t-portfolio-item .pi-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 -8px; }
.t-portfolio-item .pi-card { display: flex; flex-direction: column; height: 100%; padding: 20px 20px 24px; background: var(--n-white); border: 1px solid var(--n-line);
  border-radius: var(--n-r-lg); color: var(--n-ink); text-decoration: none; transition: border-color var(--n-dur) ease; }
.t-portfolio-item .pi-card:hover, .t-portfolio-item .pi-card:focus-visible { border-color: var(--n-yellow); }
.t-portfolio-item .pi-card__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 9px; background: var(--n-grey); }
.t-portfolio-item .pi-card__img img { width: 100%; height: 100%; object-fit: cover; }
.t-portfolio-item .pi-card__pill { align-self: flex-start; margin-top: 34px; padding: 3px 10px; border-radius: 999px; background: var(--pi-pill);
  color: var(--pi-pill-ink); font: 600 12px/1 var(--n-font); letter-spacing: .01em; }
.t-portfolio-item .pi-card__title { margin-top: 10px; font-size: 17px; line-height: 1.3; font-weight: 600; }

/* video testimonials */
.t-portfolio-item .pi-testi { background: var(--pi-mint); padding-top: 130px; padding-bottom: 120px; }
.t-portfolio-item .pi-testi__head { max-width: 850px; margin: 0 auto 75px; text-align: center; }
.t-portfolio-item .pi-testi__head h2 { font-size: 44px; line-height: 1.36; }
.t-portfolio-item .pi-testi__head p { max-width: 750px; margin: 40px auto 0; font-size: 20px; line-height: 1.5; color: var(--n-ink); }
.t-portfolio-item .pi-testi__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0 10px; }
.t-portfolio-item .pi-video { margin: 0; }
.t-portfolio-item .pi-video__box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 3px solid var(--n-ink); border-radius: var(--n-r-btn);
  box-shadow: var(--n-shadow); background: var(--n-ink); }
.t-portfolio-item .pi-video__play, .t-portfolio-item .pi-video__frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.t-portfolio-item .pi-video__play img { width: 100%; height: 100%; object-fit: cover; }
.t-portfolio-item .pi-video__btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: flex;
  align-items: center; justify-content: center; border-radius: 50%; background: rgba(26, 30, 34, .78); color: var(--n-yellow);
  transition: background-color var(--n-dur) ease, transform var(--n-dur) var(--n-ease); }
.t-portfolio-item .pi-video__btn svg { width: 30px; height: 30px; margin-left: 4px; }
.t-portfolio-item .pi-video__play:hover .pi-video__btn, .t-portfolio-item .pi-video__play:focus-visible .pi-video__btn { background: var(--n-ink); transform: scale(1.08); }
.t-portfolio-item .pi-video__play:focus-visible { outline: 3px solid var(--n-yellow); outline-offset: -6px; }
.t-portfolio-item .pi-video__who { display: flex; align-items: center; gap: 16px; margin-top: 20px; font: 500 15px/22px var(--n-font); color: var(--n-ink); }
.t-portfolio-item .pi-video__logo { width: 64px; height: 52px; object-fit: contain; object-position: left center; flex: none; }
.t-portfolio-item .pi-video__who b { display: block; font-weight: 500; }
.t-portfolio-item .pi-video__who span span { display: block; }

/* CTA band */
.t-portfolio-item .pi-cta { padding-block: 56px; }
.t-portfolio-item .pi-cta__card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; padding: 32px 36px;
  background: var(--n-grey); border: 1px solid var(--n-line); border-left: 6px solid var(--n-yellow); border-radius: var(--n-r-lg); }
.t-portfolio-item .pi-cta__txt { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.t-portfolio-item .pi-cta__txt h2 { font-size: 28px; line-height: 1.25; }
.t-portfolio-item .pi-cta__lead { font-size: 16px; line-height: 1.55; }
.t-portfolio-item .pi-cta__btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* tablet */
@media (max-width: 1024px) {
  .t-portfolio-item .pi-intro { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .t-portfolio-item .pi-info { padding: 30px 20px; }
  .t-portfolio-item .pi-shot__frame { max-height: 560px; }
  .t-portfolio-item .pi-title { font-size: 38px; }
  .t-portfolio-item .pi-related__grid { margin: 0; }
  .t-portfolio-item .pi-card { padding: 12px 12px 18px; }
  .t-portfolio-item .pi-card__pill { margin-top: 18px; }
  .t-portfolio-item .pi-testi { padding-block: 90px; }
  .t-portfolio-item .pi-testi__head h2 { font-size: 36px; }
  .t-portfolio-item .pi-testi__grid { padding: 0; gap: 20px; }
  .t-portfolio-item .pi-video__who { gap: 12px; font-size: 14px; line-height: 20px; }
  .t-portfolio-item .pi-video__logo { width: 56px; height: 44px; }
}
@media (max-width: 860px) {
  .t-portfolio-item .pi-intro { grid-template-columns: minmax(0, 1fr); }
  .t-portfolio-item .pi-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .t-portfolio-item .pi-testi__grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; gap: 40px; }
}
/* phone */
@media (max-width: 767px) {
  .t-portfolio-item .n-main > .pi-top:first-child { padding-top: calc(var(--n-hdr-h) + 14px); padding-bottom: 36px; }
  .t-portfolio-item .pi-kicker { margin-top: 10px; }
  .t-portfolio-item .pi-title { font-size: 32px; }
  .t-portfolio-item .pi-browser { margin: 20px -6px 0; }
  .t-portfolio-item .pi-browser__bar { padding: 9px 12px; gap: 10px; }
  .t-portfolio-item .pi-browser__dots i { width: 9px; height: 9px; }
  .t-portfolio-item .pi-shot__frame { max-height: 520px; }
  .t-portfolio-item .pi-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
  .t-portfolio-item .pi-act { min-width: 0; padding-inline: 12px; }
  .t-portfolio-item .pi-about { padding-top: 40px; padding-bottom: 48px; }
  .t-portfolio-item .pi-about__title { font-size: 22px; margin-bottom: 16px; }
  .t-portfolio-item .pi-intro { gap: 32px; }
  .t-portfolio-item .pi-info { padding: 30px 22px; }
  .t-portfolio-item .pi-related { padding-top: 40px; padding-bottom: 48px; }
  .t-portfolio-item .pi-related__title { margin-bottom: 18px; }
  .t-portfolio-item .pi-related__grid { gap: 12px; }
  .t-portfolio-item .pi-card { padding: 6px 6px 14px; border-radius: 12px; }
  .t-portfolio-item .pi-card__pill { margin: 16px 4px 0; padding: 5px 10px; line-height: 1.35; }
  .t-portfolio-item .pi-card__title { margin: 10px 4px 0; font-size: 14px; }
  .t-portfolio-item .pi-testi { padding-block: 100px 80px; }
  .t-portfolio-item .pi-testi__head { margin-bottom: 40px; }
  .t-portfolio-item .pi-testi__head h2 { font-size: 27px; line-height: 1.2; }
  .t-portfolio-item .pi-testi__head p { margin-top: 20px; font-size: 18px; }
  .t-portfolio-item .pi-cta { padding-block: 36px; }
  .t-portfolio-item .pi-cta__card { padding: 24px 20px; border-left-width: 5px; }
  .t-portfolio-item .pi-cta__txt { flex-basis: 100%; }
  .t-portfolio-item .pi-cta__txt h2 { font-size: 23px; }
  .t-portfolio-item .pi-cta__btns { width: 100%; flex-direction: column; }
  .t-portfolio-item .pi-cta__btns .n-btn { width: calc(100% - 4px); }
}
@media (prefers-reduced-motion: reduce) {
  .t-portfolio-item .pi-video__play:hover .pi-video__btn, .t-portfolio-item .pi-video__play:focus-visible .pi-video__btn { transform: none; }
}
/* tablet: the space between the header and the back button */
@media (min-width: 768px) and (max-width: 1024px) { .t-portfolio-item .n-main > .pi-top:first-child { padding-top: calc(var(--n-hdr-h) + 40px); } }

/* tinted placeholder under the lazy video cover (no black box while the image loads) */
.t-portfolio-item .pi-video__play { background: var(--n-blue); }

/* 45-portfolio-list.css */
/* Native portfolio list: /portfolio/ and /portfolio/page/<n>/ (templates/portfolio-list-page.astro). */

/* ---------- heading + intro ---------- */
.t-portfolio-list .pl-list { padding-top: 16px; padding-bottom: 50px; }
.t-portfolio-list .pl-head { max-width: 590px; margin-bottom: 30px; }
.t-portfolio-list .pl-head h1 { font-size: 32px; line-height: 42px; font-weight: 800; }
.t-portfolio-list .pl-intro { margin-top: 18px; font-size: 16px; line-height: 1.65; color: var(--n-ink); }

/* ---------- filter ---------- */
.t-portfolio-list .pl-filter { display: grid; grid-template-columns: 269px 285px; gap: 16px; margin-bottom: 40px; }
.t-portfolio-list .pl-field__label { display: block; margin-bottom: 8px; font: 600 14px/1.4 var(--n-font); color: var(--n-ink); }
.t-portfolio-list .pl-select { position: relative; }
.t-portfolio-list .pl-select select { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-height: 48px; margin: 0;
  padding: 10px 40px 10px 14px; font: 500 16px/1.3 var(--n-font); color: var(--n-ink); background: var(--n-white);
  border: 1px solid #D3DAE1; border-radius: var(--n-r-md); cursor: pointer; transition: border-color var(--n-dur) ease; }
.t-portfolio-list .pl-select select:hover { border-color: #AEB8C2; }
.t-portfolio-list .pl-select select:focus-visible { outline: 3px solid var(--n-yellow); outline-offset: 0; border-color: var(--n-ink); border-radius: var(--n-r-md); }
.t-portfolio-list .pl-select option:disabled { color: #9AA3AB; }
.t-portfolio-list .pl-select__ico { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--n-ink-3); pointer-events: none; }

/* ---------- grid + cards ---------- */
.t-portfolio-list .pl-results { transition: opacity var(--n-dur) ease; }
.t-portfolio-list .pl-results.is-loading { opacity: .55; }
.t-portfolio-list .pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 -8px; padding: 0; list-style: none; }
.t-portfolio-list .pl-item { display: flex; }
.t-portfolio-list .pl-card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 20px 20px 24px; background: var(--n-white);
  border: 1px solid var(--n-line); border-radius: var(--n-r-lg); transition: border-color var(--n-dur) ease; }
.t-portfolio-list .pl-card:hover, .t-portfolio-list .pl-card:focus-within { border-color: var(--n-yellow-hover); }
.t-portfolio-list .pl-card__media { overflow: hidden; aspect-ratio: 1; border-radius: 9px; background: var(--n-blue); }
.t-portfolio-list .pl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--n-ease); }
.t-portfolio-list .pl-card:hover .pl-card__media img { transform: scale(1.035); }
.t-portfolio-list .pl-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 34px; }
.t-portfolio-list .pl-card__pill { padding: 3px 10px; font: 600 12px/1.45 var(--n-font); letter-spacing: .01em; color: #5C4A00; background: #FFF4C2; border-radius: 999px; }
.t-portfolio-list .pl-card__title { display: flex; align-items: center; gap: 8px; font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
/* the title link covers the card: one link, one tab stop */
.t-portfolio-list .pl-card__link { color: var(--n-ink); text-decoration: none; }
.t-portfolio-list .pl-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--n-r-lg); }
.t-portfolio-list .pl-card__link:focus-visible { outline: none; }
.t-portfolio-list .pl-card__link:focus-visible::after { outline: 3px solid var(--n-ink); outline-offset: 3px; }
/* Heroicons arrow-right that slides in on hover (as the current cards) */
.t-portfolio-list .pl-card__title::after { content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .25s var(--n-ease); }
.t-portfolio-list .pl-card:hover .pl-card__title::after, .t-portfolio-list .pl-card:focus-within .pl-card__title::after { opacity: 1; transform: none; }
@media (hover: none) { .t-portfolio-list .pl-card__title::after { opacity: .55; transform: none; } }
.t-portfolio-list .pl-empty { grid-column: 1 / -1; padding: 28px 20px; text-align: center; background: var(--n-grey); border: 1px solid var(--n-line); border-radius: 12px; }
.t-portfolio-list .pl-empty p { font-size: 16px; }

/* ---------- pager ---------- */
.t-portfolio-list .pl-pager { margin-top: 56px; }
.t-portfolio-list .pl-pager ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.t-portfolio-list .pl-pager__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px;
  font: 400 16px/1 var(--n-font); color: var(--n-ink); text-decoration: none; background: var(--n-white); border: 2px solid var(--n-ink); border-radius: var(--n-r-sm);
  transition: background-color var(--n-dur) ease; }
.t-portfolio-list .pl-pager__btn--step { padding: 0 20px; }
.t-portfolio-list a.pl-pager__btn:hover { background: var(--n-yellow-soft); }
.t-portfolio-list .pl-pager__btn.is-current { background: var(--n-yellow); font-weight: 500; }
.t-portfolio-list .pl-pager__dots { display: inline-flex; min-width: 24px; justify-content: center; color: var(--n-ink); }
.t-portfolio-list .pl-pager__ico { width: 18px; height: 18px; flex: none; }

/* ---------- testimonials ---------- */
.t-portfolio-list .pl-testi { background: color-mix(in srgb, var(--n-hero) 60%, var(--n-white)); border-top: 1px solid var(--n-line); padding-block: 130px 100px; }
.t-portfolio-list .pl-testi .n-head { max-width: 760px; margin-bottom: 56px; gap: 20px; }
.t-portfolio-list .pl-testi .n-head__title { font-size: 44px; line-height: 1.2; font-weight: 800; text-wrap: balance; }
.t-portfolio-list .pl-testi .n-head__intro p { max-width: 680px; font-size: 19px; line-height: 1.55; color: var(--n-ink-2); text-wrap: pretty; }
.t-portfolio-list .pl-testi__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.t-portfolio-list .pl-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--n-ink); border: var(--n-bw) solid var(--n-ink);
  border-radius: 4px; box-shadow: var(--n-shadow); }
.t-portfolio-list .pl-video__btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.t-portfolio-list .pl-video__btn:focus-visible { outline: 3px solid var(--n-yellow); outline-offset: -6px; }
.t-portfolio-list .pl-video__poster { width: 100%; height: 100%; object-fit: cover; }
.t-portfolio-list .pl-video__play { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px;
  margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(26, 30, 34, .78); color: var(--n-yellow); transition: transform var(--n-dur) ease, background-color var(--n-dur) ease; }
.t-portfolio-list .pl-video__ico { width: 30px; height: 30px; margin-left: 3px; }
.t-portfolio-list .pl-video__btn:hover .pl-video__play, .t-portfolio-list .pl-video__btn:focus-visible .pl-video__play { transform: scale(1.08); background: var(--n-ink); }
.t-portfolio-list .pl-video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.t-portfolio-list .pl-testi__who { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.t-portfolio-list .pl-testi__logo { width: auto; max-width: 72px; max-height: 60px; flex: none; object-fit: contain; }
.t-portfolio-list .pl-testi__name { font-size: 15px; line-height: 1.5; color: var(--n-ink); }
.t-portfolio-list .pl-testi__name strong { font-weight: 500; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .t-portfolio-list .pl-list { padding-top: 66px; }
  .t-portfolio-list .pl-intro { max-width: calc(50% - 10px); }
  .t-portfolio-list .pl-head { max-width: none; }
  .t-portfolio-list .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
  /* narrower heading + intro on tablet */
  .t-portfolio-list .pl-filter { grid-template-columns: 1fr 1fr; }
  .t-portfolio-list .pl-testi { padding-block: 90px 80px; }
  .t-portfolio-list .pl-testi__grid { gap: 16px; }
  .t-portfolio-list .pl-testi__who { gap: 12px; }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  .t-portfolio-list .pl-list { padding-top: 20px; padding-bottom: 40px; }
  .t-portfolio-list .pl-intro { max-width: none; font-size: 16px; line-height: 1.6; }
  .t-portfolio-list .pl-head { margin-bottom: 40px; }
  .t-portfolio-list .pl-filter { grid-template-columns: 1fr; gap: 12px; }
  .t-portfolio-list .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 -7px; }
  .t-portfolio-list .pl-card { padding: 6px 6px 12px; border-radius: 12px; }
  .t-portfolio-list .pl-card__link::after { border-radius: 12px; }
  .t-portfolio-list .pl-card__body { padding: 30px 4px 0; gap: 8px; }
  .t-portfolio-list .pl-card__pill { font-size: 13px; line-height: 1.3; border-radius: 8px; }
  .t-portfolio-list .pl-card__title { font-size: 15px; }
  .t-portfolio-list .pl-card__title::after { display: none; }
  .t-portfolio-list .pl-pager { margin-top: 36px; }
  .t-portfolio-list .pl-pager ul { gap: 4px; }
  .t-portfolio-list .pl-pager__btn { min-width: 40px; padding: 0 6px; }
  .t-portfolio-list .pl-pager__btn--step { padding: 0 10px; }
  .t-portfolio-list .pl-pager__btn--step span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .t-portfolio-list .pl-pager__dots { min-width: 14px; }
  .t-portfolio-list .pl-testi { padding-block: 90px 60px; }
  .t-portfolio-list .pl-testi .n-head { margin-bottom: 52px; gap: 20px; }
  .t-portfolio-list .pl-testi .n-head__title { max-width: none; font-size: 27px; line-height: 1.2; }
  .t-portfolio-list .pl-testi .n-head__intro p { max-width: none; font-size: 17px; }
  .t-portfolio-list .pl-testi__name { font-size: 16px; }
  .t-portfolio-list .pl-testi__grid { grid-template-columns: 1fr; gap: 28px; padding-inline: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .t-portfolio-list .pl-card:hover .pl-card__media img { transform: none; }
  .t-portfolio-list .pl-card__title::after { transform: none; }
}

/* 50-archives.css */
/* Archive lists: /niche/<slug>/ and /portfolio_category/<slug>/ (+ /page/<n>/). Template: templates/Archives.astro,
   components/archives/{PortfolioCard,Pager}.astro. Scope: .t-archives */

/* ---------- top: breadcrumb, title, intro, category pills, niche chips ---------- */
.t-archives .arc-top { padding-top: 14px; padding-bottom: 32px; }
.t-archives .arc-crumb { margin-bottom: 12px; }
.t-archives .arc-crumb a, .t-archives .arc-crumb [aria-current] { display: inline-flex; align-items: center; min-height: 32px; }
.t-archives .arc-title { margin: 0; font: 800 32px/1.3 var(--n-font-head); letter-spacing: -.02em; color: var(--n-ink); }
.t-archives .arc-intro { margin: 14px 0 0; max-width: 640px; font-size: 17px; line-height: 1.55; color: var(--n-ink-2); }
.t-archives .arc-nav { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.t-archives .arc-pills, .t-archives .arc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.t-archives .arc-pill, .t-archives .arc-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--n-line); border-radius: 999px; background: var(--n-white); color: var(--n-ink); font: 500 15px/1.2 var(--n-font);
  text-decoration: none; white-space: nowrap; transition: border-color var(--n-dur) ease, background-color var(--n-dur) ease; }
.t-archives .arc-chip { min-height: 40px; padding: 0 14px; font-size: 14px; }
.t-archives .arc-chip__n { color: var(--n-ink-3); font-weight: 400; }
.t-archives .arc-pill:hover, .t-archives .arc-chip:hover { border-color: var(--n-yellow-hover); color: var(--n-ink); }
.t-archives .arc-pill[aria-current], .t-archives .arc-chip[aria-current] { background: var(--n-yellow); border-color: var(--n-yellow); font-weight: 600; }
.t-archives .arc-pill[aria-current]:hover, .t-archives .arc-chip[aria-current]:hover { background: var(--n-yellow-hover); border-color: var(--n-yellow-hover); }
.t-archives .arc-chip[aria-current] .arc-chip__n { color: var(--n-ink); }
.t-archives .arc-niches summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; cursor: pointer; list-style: none;
  font: 600 15px/1.2 var(--n-font); color: var(--n-ink); text-decoration: underline; text-underline-offset: 4px; }
.t-archives .arc-niches summary::-webkit-details-marker { display: none; }
.t-archives .arc-niches summary:hover { text-decoration-color: var(--n-yellow-hover); }
.t-archives .arc-niches__ico { width: 18px; height: 18px; flex: none; transition: transform var(--n-dur) ease; }
.t-archives .arc-niches[open] .arc-niches__ico { transform: rotate(180deg); }
.t-archives .arc-niches[open] .arc-chips { margin-top: 8px; padding: 14px; background: var(--n-grey); border-radius: 12px; }

/* ---------- card grid ---------- */
.t-archives .arc-list { padding-top: 28px; padding-bottom: 96px; }
.t-archives .arc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.t-archives .arc-grid > li { display: flex; min-width: 0; }
.t-archives .arc-card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 20px 20px 24px; background: var(--n-white);
  border: 1px solid var(--n-line); border-radius: var(--n-r-lg); transition: border-color var(--n-dur) ease; }
.t-archives .arc-card:hover, .t-archives .arc-card:focus-within { border-color: var(--n-yellow); }
.t-archives .arc-card__media { overflow: hidden; border-radius: 9px; background: var(--n-grey); aspect-ratio: 1 / 1; }
.t-archives .arc-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--n-ease); }
.t-archives .arc-card:hover .arc-card__media img { transform: scale(1.03); }
.t-archives .arc-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; }
.t-archives .arc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.t-archives .arc-card__tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #FFF4C2; color: #5C4A00;
  font: 600 12px/1.2 var(--n-font); letter-spacing: .01em; }
.t-archives .arc-card__title { margin: 0; font: 600 17px/1.3 var(--n-font-head); letter-spacing: -.02em; color: var(--n-ink); }
.t-archives .arc-card__link { color: inherit; text-decoration: none; }
/* the title link covers the card: one tab stop, the focus ring goes round the card */
.t-archives .arc-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.t-archives .arc-card__link:focus-visible { outline: none; }
.t-archives .arc-card:has(.arc-card__link:focus-visible) { outline: 3px solid var(--n-ink); outline-offset: 3px; }

/* ---------- pager ---------- */
.t-archives .arc-pager { margin-top: 64px; }
.t-archives .arc-pager ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.t-archives .arc-pager__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 2px solid var(--n-ink); border-radius: var(--n-r-md); background: var(--n-white); color: var(--n-ink); font: 500 16px/1 var(--n-font);
  text-decoration: none; transition: background-color var(--n-dur) ease; }
.t-archives a.arc-pager__btn:hover { background: var(--n-grey); color: var(--n-ink); }
.t-archives .arc-pager__btn--current { background: var(--n-yellow); font-weight: 700; }
.t-archives .arc-pager__ico { width: 18px; height: 18px; flex: none; }
.t-archives .arc-pager__dots { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 44px; color: var(--n-ink-3); }

/* ---------- CTA band ---------- */
.t-archives .arc-cta { padding-bottom: 64px; }
.t-archives .arc-cta__card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 32px 36px;
  background: var(--n-grey); border: 1px solid var(--n-line); border-left: 6px solid var(--n-yellow); border-radius: var(--n-r-lg); }
.t-archives .arc-cta__txt { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.t-archives .arc-cta__title { margin: 0; font: 800 28px/1.25 var(--n-font-head); letter-spacing: -.02em; color: var(--n-ink); }
.t-archives .arc-cta__lead { margin: 0; font-size: 16px; line-height: 1.55; color: var(--n-ink-2); }
.t-archives .arc-cta__btns { gap: 12px 16px; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .t-archives .arc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  .t-archives .arc-top { padding-top: 20px; padding-bottom: 24px; }
  .t-archives .arc-intro { margin-top: 10px; font-size: 16px; }
  /* the category pills scroll sideways (one line) */
  /* 7px padding (cancelled by the negative margin) keeps the 3px + 3px focus ring inside the scroll box, so it is not clipped */
  /* the row is clipped at the page gutter (as on the frozen site), with a fade at the right end that shows it scrolls */
  .t-archives .arc-pills { flex-wrap: nowrap; overflow-x: auto; margin: -7px -3px -3px; padding: 7px 3px;
    scroll-padding-inline: 3px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .t-archives .arc-pills::after { content: ""; flex: none; width: 24px; }
  .t-archives .arc-pills::-webkit-scrollbar { display: none; }
  .t-archives .arc-pill { flex: none; }
  .t-archives .arc-list { padding-top: 20px; padding-bottom: 56px; }
  .t-archives .arc-grid { gap: 12px; }
  .t-archives .arc-card { padding: 10px 10px 14px; border-radius: 12px; }
  .t-archives .arc-card__media { border-radius: 7px; }
  .t-archives .arc-card__body { margin-top: 10px; gap: 6px; }
  .t-archives .arc-card__tag { font-size: 11px; padding: 3px 8px; }
  .t-archives .arc-card__title { font-size: 14px; }
  .t-archives .arc-pager { margin-top: 40px; }
  .t-archives .arc-pager ul { gap: 4px; }
  .t-archives .arc-pager__btn { min-width: 40px; padding: 0 6px; }
  .t-archives .arc-pager__btn--step { padding: 0 8px; }
  .t-archives .arc-pager__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .t-archives .arc-pager__dots { min-width: 14px; }
  .t-archives .arc-cta { padding-bottom: 40px; }
  .t-archives .arc-cta__card { padding: 24px 20px; border-left-width: 5px; }
  .t-archives .arc-cta__title { font-size: 23px; }
  .t-archives .arc-cta__btns { width: 100%; }
  .t-archives .arc-cta__btns > .n-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .t-archives .arc-niches__ico, .t-archives .arc-pill, .t-archives .arc-chip, .t-archives .arc-card, .t-archives .arc-card__media img,
  .t-archives .arc-pager__btn { transition: none; }
  .t-archives .arc-card:hover .arc-card__media img { transform: none; }
}

/* frozen sizes (QA): the card and spacing of the frozen list pages (same card style as the home portfolio cards) */
.t-archives .arc-intro { margin-top: 34px; }
.t-archives .arc-grid { gap: 13px; margin-inline: -7px; }
.t-archives .arc-card { padding: 20px 20px 28px; }
.t-archives .arc-card__body { margin-top: 30px; gap: 6px; }
.t-archives .arc-list { padding-bottom: 226px; }
@media (max-width: 767px) {
  .t-archives .arc-intro { margin-top: 31px; }
  .t-archives .arc-grid { gap: 10px; }
  .t-archives .arc-card { padding: 6px 6px 18px; }
  .t-archives .arc-list { padding-bottom: 56px; }
  .t-archives .arc-card__body { margin-top: 30px; gap: 10px; }
  .t-archives .arc-card__tag { font-size: 13px; }
  .t-archives .arc-card__title { font-size: 15px; line-height: 1.2; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .t-archives .arc-top { padding-top: 66px; }
  .t-archives .arc-card { padding-bottom: 41px; }
}

/* 55-info-pages.css */
/* Info pages (web/src/native/templates/info-pages.astro + components/info-pages/), scope: .t-info-pages
   article: award/partner/university pages (copy + image), notice: empty-state card, blank: no content. */

/* ---------- article ---------- */
.t-info-pages .ip-art { padding-top: 34px; padding-bottom: 50px; }
.t-info-pages .ip-art + .ip-art { padding-top: 0; }
.t-info-pages .ip-art__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.t-info-pages .ip-art--aside .ip-art__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 550px); gap: 40px 60px; align-items: center; }
.t-info-pages .ip-art--aside .ip-art__copy { padding-left: 25px; }
.t-info-pages .ip-art--single .ip-art__copy { max-width: 760px; margin-inline: auto; }
.t-info-pages .ip-art__copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.t-info-pages .ip-art__h { margin-bottom: 6px; }
.t-info-pages .ip-art__h--1 { font-size: 32px; line-height: 1.3; font-weight: 800; }
.t-info-pages .ip-art__img { border-radius: var(--n-r-md); }
.t-info-pages .ip-art__aside { display: flex; flex-direction: column; gap: 16px; }
.t-info-pages .ip-art__photo { width: 100%; border-radius: var(--n-r-lg); }
/* a tall portrait photo (the SOBA certificate) stays at the frozen size: max 560px high, centred */
.t-info-pages .ip-art__photo--tall { width: auto; max-height: 560px; margin-inline: auto; }
.t-info-pages .ip-art__lead { font-size: 19px; line-height: 1.5; font-weight: 500; color: var(--n-ink); margin-bottom: 2px; }

/* rich text from the page content */
.t-info-pages .ip-rich { font-size: 16px; line-height: 1.6; color: var(--n-ink); }
.t-info-pages .ip-rich > * + * { margin-top: 14px; }
.t-info-pages .ip-rich p, .t-info-pages .ip-rich li { color: var(--n-ink); }
.t-info-pages .ip-rich :where(ul, ol) { padding-left: 1.5em; }
.t-info-pages .ip-rich ul { list-style: disc; }
.t-info-pages .ip-rich ol { list-style: decimal; }
.t-info-pages .ip-rich li { line-height: 1.5; }
.t-info-pages .ip-rich li + li { margin-top: 2px; }
.t-info-pages .ip-rich li::marker { color: var(--n-ink-3); }
.t-info-pages .ip-rich :where(h2, h3, h4) { margin-top: 22px; }
.t-info-pages .ip-rich strong, .t-info-pages .ip-rich b { font-weight: 700; color: var(--n-ink); }

/* small image (badge) next to its text */
.t-info-pages .ip-media { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 4px; }
.t-info-pages .ip-media__img { width: 112px; }

/* ---------- notice (empty-state card) ---------- */
.t-info-pages .ip-note { padding-top: 4px; padding-bottom: 72px; }
.t-info-pages .ip-note .n-wrap--narrow { max-width: calc(728px + 2 * var(--n-gutter)); }
.t-info-pages .ip-note__h { font-size: 32px; line-height: 1.2; font-weight: 800; margin-bottom: 20px; }
.t-info-pages .ip-note__card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; background: var(--n-grey);
  border: 1px solid var(--n-line); border-radius: var(--n-r-lg); }
.t-info-pages .ip-note__ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--n-white);
  border: 1px solid var(--n-line); border-radius: var(--n-r-md); color: var(--n-ink); }
.t-info-pages .ip-note__ico .n-ico { width: 20px; height: 20px; }
.t-info-pages .ip-note__lead { font-size: 16px; line-height: 1.6; color: var(--n-ink-2); }
.t-info-pages .ip-note .n-btns { margin-top: 2px; }

@media (max-width: 1024px) {
  .t-info-pages .ip-art--aside .ip-art__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 40px; }
  .t-info-pages .ip-art--aside .ip-art__copy { padding-left: 0; }
  .t-info-pages .ip-media { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .t-info-pages .ip-media__img { width: 88px; }
  /* keep the h1 top at 170 / 140 px */
  .t-info-pages .ip-art { padding-top: 86px; }
  .t-info-pages .ip-note { padding-top: 56px; }
}
@media (max-width: 767px) {
  .t-info-pages .ip-art { padding-top: 56px; padding-bottom: 40px; }
  .t-info-pages .ip-art--aside .ip-art__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .t-info-pages .ip-art__h--1, .t-info-pages .ip-note__h { font-size: 30px; }
  .t-info-pages .ip-art__lead { font-size: 17px; }
  .t-info-pages .ip-media { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .t-info-pages .ip-media__txt { justify-self: stretch; }
  .t-info-pages .ip-note { padding-top: 110px; padding-bottom: 48px; }
  /* SOBA: title + lead, then the image, then the other text */
  .t-info-pages .ip-art--lead .ip-art__grid { gap: 14px; }
  .t-info-pages .ip-art--lead .ip-art__copy { display: contents; }
  .t-info-pages .ip-art--lead .ip-art__copy > * { order: 2; }
  .t-info-pages .ip-art--lead .ip-art__copy > .ip-pre { order: 0; }
  .t-info-pages .ip-art--lead .ip-art__aside { order: 1; margin-block: 10px; }
}

/* bare page (/nakwebsite/, NativeLayout "bare"): no header or footer, centred note text */
.n-body--bare .n-main { padding-top: 0; }
.t-info-pages.n-body--bare .ip-rich { text-align: center; }
