/* Baskar Compliance Services · site styles. Plain CSS, mobile first. */
:root {
  --night: #061716;
  --night-2: #0c2422;
  --on-dark: #eaf3f1;
  --dim: #93aba7;
  --accent: #6fe3c3;
  --accent-ink: #04201b;
  --ink: #0c1514;
  --ink-2: #364240;
  --muted: #66726f;
  --line: #e3e8e6;
  --soft: #f3f6f5;
  --brand: #0d4a45;
  --ok: #157a4b; --ok-bg: #e7f6ee;
  --due: #9a5800; --due-bg: #fff2dc;
  --work: #2c4a7a; --work-bg: #e9effa;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: 20px;
  --head: 64px;
  --ease: cubic-bezier(.2, .75, .15, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 12px; }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .02em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.eyebrow.dark { color: var(--brand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font: 500 15.5px var(--font); border: 1px solid transparent; transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(111, 227, 195, .0), 0 10px 30px -10px rgba(111, 227, 195, .6); }
.btn-accent:hover { background: #8cf0d4; transform: translateY(-1px); }
.btn-ghost-dark { color: var(--on-dark); border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent); }

/* Header */
.site-head { position: fixed; inset: 0 0 auto; z-index: 40; color: var(--on-dark); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-head.scrolled { background: rgba(6, 23, 22, .78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: rgba(255, 255, 255, .07); }
.head-row { height: var(--head); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mark { flex: none; height: 30px; padding: 0 8px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 12px/1 var(--font); letter-spacing: .08em; }
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; line-height: 1.2; }
.nav { display: none; gap: 30px; margin-left: auto; }
.nav a { font-size: 14.5px; color: var(--dim); transition: color .2s; position: relative; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--accent); border-radius: 2px; }
.head-cta { display: none; }
.menu-btn { margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-btn span { width: 18px; height: 1.6px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.menu { background: rgba(6, 23, 22, .97); backdrop-filter: blur(16px); padding: 8px var(--gutter) 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.menu[hidden] { display: none; }
.menu a { display: block; padding: 15px 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid rgba(255, 255, 255, .08); }

/* Hero */
.hero { position: relative; color: var(--on-dark); padding-top: calc(var(--head) + 64px); background: var(--night); overflow: hidden; }
.hero-light { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(60% 55% at 50% -5%, rgba(111, 227, 195, .20), transparent 70%),
  linear-gradient(180deg, transparent 60%, rgba(111, 227, 195, .05)); }
.hero-light::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: calc(100% / 6) 100%; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(38px, 7.4vw, 82px); letter-spacing: -0.05em; line-height: .98; font-weight: 600; max-width: 18.5ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hl { color: var(--accent); }
.hero-sub { margin-top: 26px; font-size: 18px; color: var(--dim); max-width: 56ch; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; width: 100%; }
.hero-actions .btn { flex: 1 1 220px; max-width: 280px; }

/* Load-in motion */
.load { opacity: 0; transform: translateY(18px); animation: up .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
.hero-title .load { transform: translateY(105%); opacity: 1; animation-name: rise; }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: none; } }

/* Certificate fan */
.fan-wrap { position: relative; margin-top: 70px; padding-bottom: 40px; }
.fan-cap { text-align: center; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .03em; color: var(--dim); margin-bottom: 26px; }
.fan { position: relative; display: flex; justify-content: center; height: 300px; }
.cert { position: absolute; left: 50%; top: 0; width: 210px; height: 280px; margin-left: -105px; border-radius: 14px; background: #fbfaf6; color: var(--ink); padding: 20px 18px 18px; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 30px 60px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(12, 21, 20, .06); transform-origin: 50% 120%; transform: translateX(0) rotate(0deg); transition: transform 1.1s var(--ease), box-shadow .3s; }
.cert::before { content: ""; position: absolute; inset: 7px; border: 1px solid #e4dfcf; border-radius: 9px; pointer-events: none; }
.cert-k { position: relative; font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #8a8571; }
.cert h4 { position: relative; margin: 14px 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.cert-by { position: relative; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.cert-lines { position: relative; margin-top: auto; display: grid; gap: 7px; }
.cert-lines i { display: block; height: 5px; border-radius: 3px; background: #ece8db; }
.cert-lines i:nth-child(2) { width: 78%; } .cert-lines i:nth-child(3) { width: 56%; }
.cert-foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; margin-top: 16px; }
.cert-sign { width: 70px; border-top: 1px solid #cfc9b6; padding-top: 4px; font: 500 9px var(--mono); color: #a39d86; text-transform: uppercase; letter-spacing: .05em; }
.seal { width: 46px; height: 46px; color: var(--brand); }
.seal svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; }
.fan.open .cert { transform: translateX(calc(var(--x) * 1px)) translateY(calc(var(--y) * 1px)) rotate(calc(var(--r) * 1deg)); }
.fan.open .cert:hover { transform: translateX(calc(var(--x) * 1px)) translateY(calc(var(--y) * 1px - 14px)) rotate(calc(var(--r) * 1deg)); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .6), 0 0 0 1px rgba(111, 227, 195, .5); z-index: 9 !important; }

/* Stats */
.stats { padding: 56px 0 8px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stat-row > div { padding: 22px 0 6px; }
.stat-row > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.stat-row dt { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.stat-row dd { font-size: clamp(44px, 11vw, 72px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-top: 12px; font-variant-numeric: tabular-nums; }
.stat-row dd span { color: var(--brand); }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.section h2, .cta h2 { font-size: clamp(32px, 6vw, 56px); letter-spacing: -0.045em; line-height: 1.02; }
.sec-head p:not(.eyebrow) { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.fine { margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* Bento */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.tile { position: relative; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 18px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-3px); border-color: #cddad6; box-shadow: 0 24px 50px -30px rgba(12, 21, 20, .35); }
.tile-top { display: flex; align-items: center; gap: 12px; }
.tile-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand); border: 1px solid var(--line); flex: none; }
.tile-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile-n { margin-left: auto; font: 500 12.5px var(--mono); color: var(--muted); }
.tile h3 { font-size: 22px; letter-spacing: -0.025em; line-height: 1.15; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips li { font-size: 14px; padding: 7px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); transition: background .2s, border-color .2s, color .2s; }
.tile:hover .chips li { background: #fff; }
.chips li:hover { border-color: var(--brand); color: var(--ink); }
.tile-cta { background: var(--night); color: var(--on-dark); border-color: var(--night); justify-content: space-between; }
.tile-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 100% 0%, rgba(111, 227, 195, .22), transparent 70%); pointer-events: none; }
.tile-cta h3 { color: #fff; position: relative; }
.tile-cta p { color: var(--dim); position: relative; }
.tile-cta .btn { position: relative; align-self: flex-start; }

/* Process flow */
.flow { display: grid; gap: 0; position: relative; }
.flow li { position: relative; padding: 0 0 30px 56px; }
.flow li::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 1.5px; background: linear-gradient(var(--brand) var(--fill, 0%), #d3dcd9 var(--fill, 0%)); transition: --fill 1s; }
.flow li:last-child::before { display: none; }
.flow li.in::before { --fill: 100%; }
.fn { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 500 12px var(--mono); background: #fff; border: 1.5px solid #cfd9d6; color: var(--brand); transition: background .5s, color .5s, border-color .5s; }
.flow li.in .fn { background: var(--brand); border-color: var(--brand); color: #fff; }
.flow h3 { font-size: 19px; letter-spacing: -0.02em; padding-top: 6px; }
.flow p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

/* Payroll */
.pay { display: grid; gap: 44px; align-items: center; }
.pay-copy p:not(.eyebrow) { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.pay-list { margin-top: 30px; border-top: 1px solid var(--line); }
.pay-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pay-list b { font-weight: 600; font-size: 16.5px; }
.pay-list span { color: var(--muted); font-size: 15px; }
.btn-dark { margin-top: 30px; background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand); }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.code { position: relative; overflow: hidden; border-radius: 18px; padding: 20px; min-height: 150px; display: flex; flex-direction: column; background: var(--night); color: var(--on-dark); transition: transform .35s var(--ease); }
.code::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 80% at 100% 0%, rgba(111, 227, 195, .16), transparent 65%); opacity: .7; transition: opacity .3s; pointer-events: none; }
.code:hover { transform: translateY(-3px); }
.code:hover::before { opacity: 1; }
.code b { position: relative; font: 500 clamp(26px, 6vw, 38px)/1 var(--mono); letter-spacing: -0.02em; color: var(--accent); }
.code span { position: relative; margin-top: auto; padding-top: 18px; font-size: 15px; font-weight: 500; color: #fff; }
.code small { position: relative; font-size: 13px; color: var(--dim); margin-top: 3px; }
.code.light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.code.light::before { display: none; }
.code.light b { color: var(--brand); }
.code.light span { color: var(--ink); }
.code.light small { color: var(--muted); }

/* Authorities strip */
.auth-strip { padding: 64px 0 0; }
.auth-title { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin-bottom: 18px; }
.auth-list { display: flex; flex-wrap: wrap; gap: 10px; }
.auth-list li { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.auth-list li span { color: var(--muted); font-weight: 400; }

/* About */
.about { display: grid; gap: 40px; }
.role { margin-top: 12px; color: var(--muted); font-size: 16px; }
.portrait { position: relative; margin: 0 auto; max-width: 440px; aspect-ratio: 839 / 1000; border-radius: 22px; overflow: hidden; background: #cdd1da; box-shadow: 0 30px 60px -36px rgba(12, 21, 20, .45), 0 0 0 1px rgba(12, 21, 20, .06); isolation: isolate; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.portrait:hover img { transform: scale(1.025); }
.portrait::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(6, 23, 22, .55)); pointer-events: none; z-index: 1; }
.portrait-tag { position: absolute; left: 14px; bottom: 14px; right: 14px; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); width: max-content; max-width: calc(100% - 28px); }
.portrait-tag svg { width: 34px; height: 34px; flex: none; padding: 4px; border-radius: 9px; background: #e9f3f0; }
.portrait-tag b { display: block; font-size: 15px; letter-spacing: -0.01em; line-height: 1.2; }
.portrait-tag small { display: block; font-size: 12.5px; color: var(--muted); }
.profile { margin-top: 28px; border-top: 1px solid #d9e1de; }
.profile > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #d9e1de; font-size: 15px; }
.profile dt { color: var(--muted); font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; padding-top: 2px; }
.profile dd { font-weight: 500; text-align: right; }
.about-right p { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 64ch; }
.about-right p + p { margin-top: 18px; }
.about-right .big { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.38; letter-spacing: -0.02em; color: var(--ink); font-weight: 500; margin: 28px 0 22px; }
.about-right .profile { margin-top: 32px; max-width: 560px; }
.about-right h2 + .role { margin-top: 10px; }

/* Contact */
.cta { position: relative; background: var(--night); color: var(--on-dark); padding: 100px 0 0; overflow: hidden; }
.cta-light { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 85% 0%, rgba(111, 227, 195, .16), transparent 70%); }
.cta-inner { position: relative; display: grid; gap: 40px; }
.cta h2 { color: #fff; max-width: 16ch; }
.cta-copy p:not(.eyebrow) { margin-top: 20px; color: var(--dim); font-size: 18px; max-width: 46ch; }
.cta-cards { display: grid; gap: 12px; }
.cc { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.cc:hover { background: rgba(255, 255, 255, .07); border-color: rgba(111, 227, 195, .45); transform: translateY(-2px); }
.cc small { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .03em; color: var(--dim); }
.cc b { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; color: #fff; overflow-wrap: anywhere; }
.cc em { font-style: normal; font-size: 14px; color: var(--dim); }
.cc-go { position: absolute; right: 20px; top: 20px; color: var(--dim); transition: transform .3s var(--ease), color .2s; }
.cc:hover .cc-go { color: var(--accent); transform: translate(2px, -2px); }
.foot { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 28px; padding-bottom: 28px; margin-top: 80px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: var(--dim); }
.foot a { color: #fff; }
@media (max-width: 959px) { .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
.foot a:hover { color: var(--accent); }

/* Phone dock */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(6, 23, 22, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .45s var(--ease); }
.dock.show { transform: none; }
.dock a { display: grid; place-items: center; height: 46px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #fff; }
.dock a:first-child { background: var(--accent); color: var(--accent-ink); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .load { opacity: 1; transform: none; animation: none; }

/* ≥ 640px */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .stat-row > div { padding-left: 24px; border-left: 1px solid var(--line); }
  .stat-row > div:first-child { padding-left: 0; border-left: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.t-wide { grid-column: span 2; }
  .cta-cards { grid-template-columns: 1fr 1fr; }
  .foot { flex-direction: row; justify-content: space-between; }
}

/* ≥ 960px */
@media (min-width: 960px) {
  :root { --head: 72px; }
  .nav, .head-cta { display: flex; }
  .head-cta { margin-left: 8px; }
  .menu-btn, .menu, .dock { display: none !important; }
  .hero { padding-top: calc(var(--head) + 96px); }
  .fan { height: 330px; }
  .cert { width: 230px; height: 300px; margin-left: -115px; }
  .fan-wrap { margin-top: 84px; padding-bottom: 64px; }
  .codes { grid-template-columns: repeat(3, 1fr); }
  .stats { padding-top: 72px; }
  .section { padding: 128px 0; }
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); }
  .tile { padding: 30px; }
  .tile.t1 { grid-column: span 4; }
  .tile.t2 { grid-column: span 2; }
  .tile.t3 { grid-column: span 3; }
  .tile.t4 { grid-column: span 3; }
  .tile.t5 { grid-column: span 4; }
  .tile.tile-cta { grid-column: span 2; }
  .tile.t1 h3 { font-size: 30px; max-width: 16ch; }
  .tile.t1 .chips li { font-size: 15px; padding: 9px 15px; }
  .flow { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .flow li { padding: 56px 0 0; }
  .flow li::before { left: 40px; right: -20px; top: 17px; bottom: auto; width: auto; height: 1.5px; background: linear-gradient(90deg, var(--brand) var(--fill, 0%), #d3dcd9 var(--fill, 0%)); }
  .flow li:last-child::before { display: none; }
  .pay { grid-template-columns: 1fr 1.05fr; gap: 80px; }
  .about { grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
  .portrait { margin: 0; }
  .cta { padding-top: 128px; }
  .cta-inner { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: end; }
}

@property --fill { syntax: "<percentage>"; inherits: true; initial-value: 0%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .load, .hero-title .load { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Phones: shorter page, full-width photo ---------- */
@media (max-width: 639px) {
  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 24px; }
  .section h2, .cta h2 { font-size: 30px; }
  .sec-head p:not(.eyebrow), .pay-copy p:not(.eyebrow), .cta-copy p:not(.eyebrow) { margin-top: 12px; font-size: 16px; }
  .eyebrow { margin-bottom: 12px; font-size: 12px; }

  /* Hero */
  .hero { padding-top: calc(var(--head) + 30px); }
  .hero-title { font-size: 36px; }
  .hero-sub { margin-top: 16px; font-size: 16px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .btn { height: 48px; }
  .fan-wrap { margin-top: 40px; padding-bottom: 28px; }
  .fan-cap { margin-bottom: 16px; }
  .fan { height: 222px; }
  .cert { width: 160px; height: 210px; margin-left: -80px; padding: 14px 13px 13px; border-radius: 12px; }
  .cert h4 { font-size: 15px; margin: 10px 0 4px; }
  .cert-by { font-size: 11px; }
  .cert-lines { gap: 5px; } .cert-lines i { height: 4px; }
  .cert-foot { margin-top: 10px; } .seal { width: 34px; height: 34px; } .cert-sign { width: 52px; font-size: 8px; }

  /* Numbers */
  .stats { padding: 28px 0 0; }
  .stat-row > div { padding: 14px 0 12px; }
  .stat-row > div:nth-child(even) { padding-left: 16px; }
  .stat-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat-row dt { font-size: 11px; }
  .stat-row dd { font-size: 40px; margin-top: 6px; }

  /* Swipe rows: authorities and licence groups */
  .auth-strip { padding-top: 32px; }
  .auth-title { margin-bottom: 12px; }
  .auth-list, .bento { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
  .auth-list::-webkit-scrollbar, .bento::-webkit-scrollbar { display: none; }
  .auth-list li { flex: none; white-space: nowrap; scroll-snap-align: start; font-size: 14px; padding: 8px 14px; }
  .bento { display: flex; gap: 12px; }
  .tile { flex: 0 0 88%; scroll-snap-align: start; padding: 18px 16px; gap: 12px; border-radius: 18px; }
  .tile h3 { font-size: 18px; }
  .tile-ico { width: 38px; height: 38px; border-radius: 10px; }
  .chips { gap: 6px; }
  .chips li { font-size: 12.5px; padding: 5px 9px; }
  .fine { margin-top: 14px; font-size: 12.5px; }
  .swipe-hint { display: flex; }

  /* Process */
  .flow li { padding: 0 0 18px 50px; }
  .fn { width: 32px; height: 32px; font-size: 11px; }
  .flow li::before { left: 15px; top: 32px; }
  .flow h3 { font-size: 17px; padding-top: 4px; }
  .flow p { margin-top: 3px; font-size: 14.5px; line-height: 1.5; }

  /* Payroll */
  .pay { gap: 24px; }
  .btn-dark { margin-top: 18px; height: 44px; }
  .codes { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .code { min-height: 0; padding: 14px 12px; border-radius: 14px; }
  .code b { font-size: 22px; }
  .code span { padding-top: 10px; font-size: 12.5px; line-height: 1.3; }
  .code small { display: none; }

  /* About: photo runs edge to edge */
  .about { gap: 26px; }
  .portrait { max-width: none; width: auto; margin: -56px calc(-1 * var(--gutter)) 0; border-radius: 0; aspect-ratio: 4 / 4.6; box-shadow: none; }
  .portrait img { object-position: 50% 12%; }
  .portrait::after { inset: 45% 0 0; background: linear-gradient(transparent, rgba(6, 23, 22, .7)); }
  .portrait-tag { left: var(--gutter); bottom: 18px; }
  .about-right .big { font-size: 19px; margin: 18px 0 14px; }
  .about-right p { font-size: 15.5px; line-height: 1.6; }
  .about-right p + p { margin-top: 12px; }
  .about-right .profile { margin-top: 20px; }
  .profile > div { padding: 10px 0; font-size: 14px; }

  /* Contact */
  .cta { padding-top: 56px; }
  .cta-inner { gap: 24px; }
  .cta-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cc { padding: 14px 14px 16px; border-radius: 14px; }
  .cc b { font-size: 16px; }
  .cc em { font-size: 12.5px; }
  .cc:nth-child(n+3) { grid-column: span 2; }
  .cc-go { right: 14px; top: 14px; }
  .foot { margin-top: 48px; }
}
@media (min-width: 640px) { .swipe-hint { display: none !important; } }
.swipe-hint { align-items: center; gap: 6px; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin: -8px 0 14px; }

/* About header: small photo beside the name on phones, large portrait on wider screens */
.about-id { display: flex; align-items: center; gap: 16px; }
.avatar-sm { display: none; }
@media (max-width: 639px) {
  .about-left { display: none; }
  .avatar-sm { display: block; flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; background: #cdd1da; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px #cfe1dc; }
  .about-id h2 { font-size: 28px; }
  .about-id .role { margin-top: 4px; font-size: 14.5px; line-height: 1.35; }
}

/* Logo: B + renewal C + S */
.logo-wm { display: inline-flex; align-items: baseline; font-weight: 700; font-size: 25px; line-height: 1; letter-spacing: -0.01em; color: #fff; --ring: #fff; --tick: var(--accent); flex: none; }
.logo-wm .c { width: .735em; height: .735em; margin: 0 .035em 0 .045em; position: relative; top: .012em; overflow: visible; }
.brand { gap: 14px; }
.brand-name { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .18); color: var(--dim); font-weight: 500; font-size: 14px; }
.brand:hover .brand-name { color: #fff; }
.foot-brand { display: inline-flex; align-items: center; gap: 14px; }
.foot-brand .logo-wm { font-size: 20px; }
@media (max-width: 420px) { .logo-wm { font-size: 22px; } .brand { gap: 11px; } .brand-name { padding-left: 11px; font-size: 12.5px; line-height: 1.25; } }
