/* =========================================================
   Digital Visiting Card – styles
   Made with card-studio.html. To change colours, fonts or layout,
   open Card Studio rather than editing this file by hand.
   ========================================================= */

:root {
  --p950: #081B36;
  --p950-rgb: 8, 27, 54;
  --p900: #0D2B57;
  --p800: #123A76;
  --acc: #D1232A;
  --acc-rgb: 209, 35, 42;
  --acc-hi: #DE3A40;
  --acc-deep: #A51C21;
  --acc-ink: #D1232A;
  --acc-hero: #D1232A;
  --on-acc: #FFFFFF;
  --acc-tint: #FCF0F0;
  --acc-shadow: rgba(209,35,42,0.3);
  --acc-text: #D1232A;
  --head: #0D2B57;
  --ink: #1A2638;
  --ink2: #3A4454;
  --muted: #6C7480;
  --line: #E4E5E7;
  --fill: #F4F5F7;
  --fill2: #E3E7EC;
  --map-dot: #CAD0DA;
  --bg: #F3F6FA;
  --panel: #FFFFFF;
  --shadow: 0 1px 2px rgba(13,43,87,0.05), 0 10px 28px rgba(13,43,87,0.08);
  --r: 16px;
  --r-sm: 10px;
  --r-btn: 10px;
  --photo: 168px;
  --photo-d: 262px;
  --photo-r: 50%;
  --hero-m: 290px;
  --hero-d: 430px;
  --shade: 0.30;
  --btn-ic: 34px;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  --font-display: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
html { font-size: 100%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--acc); color: var(--on-acc); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
[id] { scroll-margin-top: 76px; }
.hx-s0 { stop-color: var(--p900); }
.hx-s1 { stop-color: var(--p950); }
.hx-acc { fill: var(--acc); }

/* ================= Header ================= */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); } }
.top__inner { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__img { height: 42px; width: auto; max-width: 170px; object-fit: contain; flex: none; }
.logo__text { display: flex; flex-direction: column; min-width: 0; font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.logo__text b { color: var(--p900); font-size: 1.02rem; }
.logo__text i { font-style: normal; color: var(--acc-ink); font-size: 1.02rem; margin-top: 3px; }
.tagline { display: none; }
.nav { display: none; }
.menu-btn {
  display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; flex: none;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--p900); cursor: pointer;
}
.menu-btn .i { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.drawer {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0, 0, 0, .12);
  padding: 6px 16px 16px;
}
.drawer.is-open { display: block; }
.drawer a:not(.btn) { display: flex; align-items: center; gap: 12px; padding: 13px 6px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--p900); }
.drawer a:not(.btn) .i { color: var(--acc); }
.drawer a:not(.btn) .i--img { width: 22px; height: 22px; }
.drawer a.is-active { color: var(--acc-ink); }
.drawer .btn { margin-top: 14px; }

/* ================= Hero ================= */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(110% 90% at 92% 0%, rgba(var(--acc-rgb), .22), transparent 55%), linear-gradient(140deg, var(--p800) 0%, var(--p900) 48%, var(--p950) 100%); }
.hero--solid { background: var(--p900); }
.hero__map { position: absolute; z-index: -2; left: 50%; top: 4%; width: 150%; max-width: none; height: auto; transform: translateX(-50%); color: var(--acc-hero); opacity: .38; pointer-events: none; }
.hero__dots { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 5.6; stroke-linecap: round; }
.hero__map .map__arc { --arc: rgba(255, 255, 255, .8); }
.hero__map .map__origin { fill: #fff; }
.hero__stripe { position: absolute; top: 0; right: 0; width: 110px; height: 64px; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__stripe::before, .hero__stripe::after { content: ""; position: absolute; top: -10px; bottom: -10px; transform: skewX(-38deg); }
.hero__stripe::before { right: 20px; width: 22px; background: var(--acc); }
.hero__stripe::after { right: 52px; width: 9px; background: rgba(255, 255, 255, .22); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media > svg, .hero__media > img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--p950-rgb), calc(var(--shade) * .82)) 0%, rgba(var(--p950-rgb), calc(var(--shade) * .62)) 50%, rgba(var(--p950-rgb), calc(var(--shade) * .9)) 100%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: var(--hero-m); padding-top: 34px; padding-bottom: calc(var(--photo) * .62 + 34px); }
.hero__rule { width: 46px; height: 4px; border-radius: 2px; background: var(--acc); margin-bottom: 14px; }
.hero__title { font-family: var(--font-display); font-weight: 800; line-height: 1.06; letter-spacing: -.01em; font-size: clamp(2rem, 7.6vw, 3.3rem); text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.hero__title span { display: block; }
.hero__title .accent { color: var(--acc-hero); }
.hero__keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-top: 14px; font-size: .86rem; font-weight: 500; color: rgba(255, 255, 255, .94); }
.hero__keys li { display: flex; align-items: center; }
.hero__keys li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acc-hero); margin: 0 9px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 64px; }
.hero__wave path { fill: var(--bg); }

/* ================= Identity band ================= */
.who { position: relative; z-index: 2; }
.who__grid { display: grid; justify-items: center; text-align: center; gap: 14px; }
.photo { position: relative; width: var(--photo); height: var(--photo); margin-top: calc(var(--photo) * -.62); }
.photo__img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--photo-r); border: 6px solid #fff; background: #E6ECF3;
  box-shadow: 0 18px 40px rgba(var(--p950-rgb), .22);
}
.photo__fallback {
  position: absolute; inset: 0; z-index: 1; display: none; place-items: center;
  border-radius: var(--photo-r); border: 6px solid #fff; background: var(--p800); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: calc(var(--photo) * .28);
}
.photo.is-missing .photo__img { display: none; }
.photo.is-missing .photo__fallback { display: grid; }
.photo--arc::before {
  content: ""; position: absolute; inset: -9px -4px -6px -13px; border-radius: 50%;
  border: 9px solid transparent; border-left-color: var(--acc); border-bottom-color: var(--acc);
  transform: rotate(18deg);
}
.photo--ring::before {
  content: ""; position: absolute; inset: -9px; border-radius: var(--photo-r);
  background: linear-gradient(135deg, var(--acc-hi), var(--acc));
}

.name { font-family: var(--font-display); font-weight: 800; color: var(--head); line-height: 1.1; letter-spacing: -.01em; font-size: clamp(1.8rem, 7vw, 2.75rem); overflow-wrap: anywhere; }
.headline { margin-top: 6px; color: var(--ink2); font-size: 1.02rem; font-weight: 500; }
.role { display: inline-flex; flex-direction: column; align-items: flex-start; text-align: left; margin-top: 14px; padding-left: 12px; border-left: 4px solid var(--acc); }
.role__title { color: var(--ink); font-size: 1.04rem; }
.role__company { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; line-height: 1.2; color: var(--acc-text); }
.loc { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; font-size: .9rem; color: var(--muted); }
.loc .i { width: 16px; height: 16px; color: var(--acc); }

.actions { display: grid; gap: 10px; width: 100%; max-width: 440px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 20px; border-radius: var(--r-btn);
  border: 2px solid var(--acc); font: 700 1rem/1.2 var(--font-body); cursor: pointer; text-align: center;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: linear-gradient(180deg, var(--acc-hi), var(--acc)); color: var(--on-acc); box-shadow: 0 10px 22px var(--acc-shadow); }
.btn--solid:hover { box-shadow: 0 12px 28px var(--acc-shadow); filter: brightness(1.04); }
.btn--line { background: #fff; color: var(--p900); }
.btn--line .i { color: var(--acc); }
.btn--line:hover { background: var(--acc-tint); }
.btn { --ib-size: var(--btn-ic); }
.btn .i { width: calc(var(--btn-ic) * .82); height: calc(var(--btn-ic) * .82); }
.btn .i--img { width: var(--btn-ic); height: var(--btn-ic); }
.btn--solid .ib { background: #fff; }
.btn--solid .ib svg { stroke: var(--acc); }
.linkbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 6px; border: 0; background: none; cursor: pointer; color: var(--ink2); font-weight: 700; font-size: .95rem; --ib-size: var(--btn-ic); }
.linkbtn .i { width: calc(var(--btn-ic) * .8); height: calc(var(--btn-ic) * .8); }
.linkbtn .i--img { width: var(--btn-ic); height: var(--btn-ic); }
.linkbtn:hover { color: var(--acc-text); }

/* Icons: colourful circles and uploaded pictures */
.ib { display: inline-grid; place-items: center; flex: none; width: var(--ib-size, 30px); height: var(--ib-size, 30px); border-radius: 50%; background: var(--ib, var(--acc)); box-shadow: 0 3px 10px rgba(0, 0, 0, .14); }
.ib svg { display: block; width: 56%; height: 56%; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.i--img { display: block; object-fit: contain; flex: none; }

/* ================= Shared section styles ================= */
.sec { margin-top: 18px; }
.card { background: var(--panel); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px 18px; }
.h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.36rem; line-height: 1.2; color: var(--head); }
.h2 .i { width: 26px; height: 26px; color: var(--h2-ic, var(--acc)); stroke-width: 2; }
.h2 .i--img { width: 30px; height: 30px; }
.h2 .ib { --ib-size: 34px; }
.prose p + p { margin-top: 10px; }
.prose p { color: var(--ink2); }
.prose strong { color: var(--acc-text); font-weight: 800; }
.checks li { position: relative; padding: 5px 0 5px 30px; color: var(--ink); font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 19px; height: 19px; background: var(--check-c, var(--acc));
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }

/* Profile: about + expertise + map */
.trio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.map { color: var(--acc); }
.map svg { width: 100%; height: auto; }
.map__dots { fill: none; stroke: var(--map-dot); stroke-width: 5.6; stroke-linecap: round; }
.map__arc { fill: none; stroke: var(--arc, var(--acc)); stroke-width: 3.2; stroke-dasharray: 2 9; stroke-linecap: round; }
.map__origin { fill: var(--origin, var(--p900)); }
.map img { width: 100%; height: auto; border-radius: var(--r-sm); }

/* Services strip */
.svc { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--panel); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.svc__label {
  justify-self: start; position: relative; padding: 14px 46px 14px 18px; background: var(--p900); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; line-height: 1.1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
}
.svc__label::after { content: ""; position: absolute; left: 18px; bottom: 8px; width: 34px; height: 3px; background: var(--acc); border-radius: 2px; }
.svc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.svc__item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 16px 10px 14px; border-radius: var(--r-sm); background: var(--fill);
  border-bottom: 4px solid var(--acc); transition: transform .2s, box-shadow .2s;
}
.svc__item:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(var(--p950-rgb), .1); }
.svc__item .i { width: 42px; height: 42px; color: var(--svc-ic, var(--head)); stroke-width: 1.5; }
.svc__item .i--img { width: 54px; height: 54px; }
.svc__item .ib { --ib-size: 58px; background: var(--ib, var(--p900)); }
.svc__item .ib svg { stroke-width: 1.7; }
.svc__item h3 { font-size: .98rem; font-weight: 800; line-height: 1.25; color: var(--head); }
.svc__item .sub { font-size: .84rem; color: var(--muted); line-height: 1.3; }
.svc__item .desc { font-size: .84rem; color: var(--ink2); line-height: 1.45; margin-top: 2px; }

/* Industries + trade focus */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ind { text-align: center; }
.ind__pic { aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: linear-gradient(160deg, var(--fill), var(--fill2)); box-shadow: inset 0 0 0 1px var(--line); }
.ind__pic > svg, .ind__pic > img { width: 100%; height: 100%; object-fit: cover; }
.ind span { display: block; margin-top: 6px; font-size: .8rem; font-weight: 700; line-height: 1.25; color: var(--head); }
.focus { position: relative; overflow: hidden; }
.focus > :not(.focus__bg) { position: relative; }
.focus__bg { position: absolute; right: -8px; bottom: -6px; width: 78%; max-width: 420px; color: var(--head); opacity: .1; pointer-events: none; }

/* Experience + credentials */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--acc), var(--line)); }
.timeline li { position: relative; padding-bottom: 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--dot-bg, var(--panel)); border: 3px solid var(--head); }
.timeline li:first-child::before { border-color: var(--acc); background: var(--acc-tint); }
.timeline h3 { font-size: 1rem; font-weight: 800; color: var(--head); line-height: 1.3; }
.timeline .org { font-size: .9rem; color: var(--ink2); }
.timeline .date { font-size: .82rem; font-weight: 700; color: var(--acc-text); }
.creds { display: grid; gap: 14px; }
.creds li { display: flex; gap: 14px; align-items: center; }
.creds .badge { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--check-c, var(--acc)); color: var(--head); font-weight: 800; font-size: .82rem; letter-spacing: .03em; }
.creds h3 { font-size: 1rem; font-weight: 800; color: var(--head); line-height: 1.3; }
.creds p { font-size: .88rem; color: var(--muted); }

/* Contact */
.rows { display: grid; gap: 2px; }
.rows a, .rows .row {
  display: flex; align-items: center; gap: 14px; padding: 10px 8px; margin: 0 -8px;
  border-radius: var(--r-sm); transition: background .2s;
}
.rows a:hover { background: var(--fill); }
.rows .ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--acc-tint); color: var(--row-ic, var(--acc-text)); }
.rows .ic .i--img { width: 26px; height: 26px; }
.rows .ib { --ib-size: 42px; }
.rows .tx { min-width: 0; font-weight: 600; color: var(--head); overflow-wrap: anywhere; line-height: 1.35; }
.rows small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact__save { margin-top: 16px; }
.qr { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: left; }
.qr__box {
  width: 176px; height: 176px; padding: 12px; background: #fff; border-radius: 12px; flex: none;
  background-image:
    linear-gradient(var(--acc), var(--acc)), linear-gradient(var(--acc), var(--acc)),
    linear-gradient(var(--acc), var(--acc)), linear-gradient(var(--acc), var(--acc)),
    linear-gradient(var(--acc), var(--acc)), linear-gradient(var(--acc), var(--acc)),
    linear-gradient(var(--acc), var(--acc)), linear-gradient(var(--acc), var(--acc));
  background-repeat: no-repeat;
  background-size: 28px 4px, 4px 28px, 28px 4px, 4px 28px, 28px 4px, 4px 28px, 28px 4px, 4px 28px;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
}
.qr__box svg { width: 100%; height: 100%; }
.qr__text { display: flex; gap: 10px; max-width: 220px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.25; color: var(--head); }
.qr__text .i { width: 30px; height: 30px; color: var(--h2-ic, var(--acc)); }
.qr__text .ib { --ib-size: 34px; }
.qr__text span::after { content: ""; display: block; width: 60%; height: 3px; margin-top: 10px; background: var(--check-c, var(--acc)); border-radius: 2px; }

/* Footer */
.foot { margin-top: 28px; background: var(--p900); color: #fff; padding: 22px 0; }
.foot__row { display: grid; gap: 12px; }
.foot__row a, .foot__row span { display: flex; align-items: center; gap: 12px; font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
.foot__row .i { width: 22px; height: 22px; color: #fff; opacity: .9; }
.foot__row .ib { --ib-size: 30px; }
.foot__copy { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; color: rgba(255, 255, 255, .72); text-align: center; }

/* Mobile tab bar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: repeat(var(--tn, 5), minmax(0, 1fr));
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .07);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 2px; font-size: .68rem; font-weight: 700; color: var(--muted); min-width: 0; }
.tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabbar .i { width: 23px; height: 23px; }
.tabbar .i--img { width: 24px; height: 24px; }
.tabbar a.is-active { color: var(--acc-ink); }
.has-tabbar { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 16px); max-width: 90vw; padding: 10px 18px; border-radius: 999px;
  background: var(--p950); color: #fff; font-size: .88rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll (only while the script runs) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ================= Section background styles ================= */
.card, .svc { position: relative; }
.card--tint { background: linear-gradient(160deg, var(--fill), var(--fill2)); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.card--dark, .card--accent, .card--photo {
  --head: #fff; --ink: #fff; --ink2: rgba(255, 255, 255, .9); --muted: rgba(255, 255, 255, .74);
  --line: rgba(255, 255, 255, .2); --fill: rgba(255, 255, 255, .09); --fill2: rgba(255, 255, 255, .16);
  --acc-text: var(--acc-hero); --acc-tint: rgba(255, 255, 255, .12); --map-dot: rgba(255, 255, 255, .3);
  --check-c: var(--acc-hero); --h2-ic: var(--acc-hero); --arc: var(--acc-hero); --origin: #fff; --dot-bg: var(--p900); --svc-ic: #fff; --row-ic: #fff;
  color: #fff;
}
.card--dark { background: radial-gradient(120% 120% at 100% 0%, rgba(var(--acc-rgb), .18), transparent 55%), linear-gradient(150deg, var(--p800), var(--p900) 55%, var(--p950)); }
.card--accent { --acc-text: #fff; --check-c: #fff; --h2-ic: #fff; --arc: #fff; --dot-bg: var(--acc); background: linear-gradient(150deg, var(--acc-hi), var(--acc) 60%, var(--acc-deep)); }
.card--photo { background: linear-gradient(rgba(var(--p950-rgb), .82), rgba(var(--p950-rgb), .82)), var(--card-img) center / cover no-repeat; }
.svc.card--dark .svc__label, .svc.card--photo .svc__label { background: var(--acc); }
.svc.card--accent .svc__label { background: var(--p900); }
.card--accent .svc__item { border-bottom-color: #fff; }
.card--accent .btn--solid, .card--accent .ib { box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.card--accent .btn--solid { background: #fff; color: var(--acc-ink); border-color: #fff; }

/* ================= Small phones ================= */
@media (max-width: 360px) {
  .logo__text b, .logo__text i { font-size: .9rem; }
  .svc__grid { gap: 8px; padding: 10px; }
  .inds { gap: 8px; }
  .tabbar a { font-size: .62rem; }
}

/* ================= Tablets ================= */
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .card { padding: 26px 26px; }
  .svc__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inds { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stack--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .rows--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .foot__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================= Desktop ================= */
@media (min-width: 1024px) {
  [id] { scroll-margin-top: 100px; }
  .hero__map { left: auto; right: -3%; top: 50%; width: 70%; max-width: 980px; transform: translateY(-60%); opacity: .95; }
  .hero__stripe { width: 240px; height: 130px; }
  .hero__stripe::before { right: 50px; width: 46px; }
  .hero__stripe::after { right: 116px; width: 18px; }
  .top__inner { min-height: 88px; gap: 26px; }
  .logo { gap: 14px; }
  .logo__mark { width: 60px; height: 60px; }
  .logo__img { height: 60px; max-width: 240px; }
  .logo__text b, .logo__text i { font-size: 1.85rem; }
  .logo__text i { margin-top: 4px; }
  .tagline { display: block; padding-left: 24px; border-left: 2px solid var(--line); font-size: .82rem; font-weight: 600; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; color: var(--p900); max-width: 230px; }
  .nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
  .nav a { padding: 9px 18px; border-radius: 999px; font-weight: 600; color: var(--p900); transition: background .2s, color .2s; }
  .nav a:hover { background: var(--acc-tint); }
  .nav a.is-active { background: var(--acc); color: var(--on-acc); box-shadow: 0 6px 16px var(--acc-shadow); }
  .menu-btn, .drawer { display: none !important; }
  .logo, .nav { flex: none; }
  .tagline { flex: 0 1 auto; min-width: 0; }

  .hero__shade { background: linear-gradient(90deg, rgba(var(--p950-rgb), calc(var(--shade) * 1)) 0%, rgba(var(--p950-rgb), calc(var(--shade) * .82)) 30%, rgba(var(--p950-rgb), calc(var(--shade) * .25)) 52%, rgba(var(--p950-rgb), 0) 66%); }
  .hero__inner { align-items: flex-start; text-align: left; min-height: var(--hero-d); padding-top: 52px; padding-bottom: calc(var(--photo-d) * .6 + 44px); }
  .hero__title { font-size: clamp(3rem, 4.6vw, 4.1rem); }
  .hero__keys { justify-content: flex-start; font-size: 1.08rem; }
  .hero__keys li + li::before { margin: 0 12px; }
  .loc { justify-content: flex-start; }
  .hero__wave { height: 110px; }

  .who__grid { grid-template-columns: auto minmax(0, 1fr) auto; justify-items: start; align-items: center; text-align: left; gap: 0 40px; }
  .photo { margin-top: calc(var(--photo-d) * -.6); width: var(--photo-d); height: var(--photo-d); align-self: start; }
  .who__id { padding-top: 6px; }
  .actions { width: 310px; padding-left: 36px; border-left: 2px solid var(--line); }

  .sec { margin-top: 24px; }
  .card { padding: 30px 34px; }
  .trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, .95fr); gap: 0; }
  .trio > * + * { border-left: 1px solid var(--line); padding-left: 30px; margin-left: 30px; }
  .trio > .map { border-left: 0; padding-left: 0; margin-left: 14px; align-self: center; }
  .trio--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }

  .svc { grid-template-columns: 210px minmax(0, 1fr); align-items: stretch; }
  .svc__label { justify-self: stretch; display: flex; align-items: center; padding: 26px 56px 26px 28px; font-size: 1.85rem; clip-path: polygon(0 0, 100% 0, calc(100% - 44px) 100%, 0 100%); }
  .svc__label::after { left: 28px; bottom: 22px; }
  .svc__grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); padding: 18px 18px 18px 6px; gap: 12px; }

  .stack--duo { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; }
  .stack--duo > .card { height: 100%; }
  .stack--duo .inds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .stack--2 { align-items: stretch; }
  .stack--contact { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; }
  .qr { flex-direction: column; text-align: center; height: 100%; }
  .qr__text { text-align: left; }

  .foot__row { grid-template-columns: repeat(auto-fit, minmax(200px, auto)); justify-content: space-between; }
  .foot__copy { text-align: left; }
  .tabbar { display: none; }
  .has-tabbar { padding-bottom: 0; }
  .toast { bottom: 32px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .tagline { display: none; }
  .logo__text b, .logo__text i { font-size: 1.5rem; }
  .nav a { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .top, .tabbar, .toast, .actions, .skip-link, .drawer { display: none !important; }
  body { background: #fff; padding: 0 !important; }
  .card, .svc { box-shadow: none; border: 1px solid var(--line); break-inside: avoid; }
  .hero { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .js .reveal { opacity: 1; transform: none; }
}
