/* About page: sticky-note board layout. Brand fonts and colours (Inter, display font, navy, lime, blue gradient). */
.ab { --ink: #000d4f; }
.ab [data-c="lime"] { --bg: #E3FF3B; --fg: #000d4f; --fold: #b4cb1a; }
.ab [data-c="blue"] { --bg: linear-gradient(135deg, #3A4EFB, #33A4FA); --fg: #fff; --fold: #1f2fb0; }
.ab [data-c="purple"] { --bg: #FF5FA2; --fg: #000d4f; --fold: #c92b73; }
.ab [data-c="orange"] { --bg: #2EE6A6; --fg: #000d4f; --fold: #10a874; }
.ab [data-c="light"] { --bg: #fff; --fg: #000d4f; --fold: #c3c6dd; }

.ab-board { position: relative; max-width: 1240px; margin: 0 auto clamp(40px, 6vw, 80px); border-radius: clamp(18px, 2.4vw, 30px); overflow: hidden; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 42px 42px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 42px 42px, #141730; }
.ab-s { position: relative; padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 64px); }
.ab-s + .ab-s { border-top: 1px solid rgba(255,255,255,.05); }
.ab-s:nth-of-type(even) { background: rgba(0,0,0,.16); }

/* sticker label with folded corner */
.tag { position: relative; display: inline-block; margin: 0; padding: .06em .3em .1em; border-radius: 6px; background: var(--bg); color: var(--fg); font: 600 1em/1.1 var(--font-sans); letter-spacing: -.045em; rotate: -2.5deg;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - .28em), calc(100% - .28em) 100%, 0 100%); }
.tag::after { content: ""; position: absolute; right: 0; bottom: 0; width: .28em; height: .28em; background: linear-gradient(135deg, var(--fold) 50%, transparent 50%); }
.tag::before { content: ""; position: absolute; left: .12em; top: .12em; width: .12em; height: .12em; border-radius: 50%; background: var(--fg); opacity: .8; }
.tag.big { font-size: clamp(36px, 6.4vw, 72px); padding-inline: .4em; }

/* paper note with folded corner */
.note { position: relative; display: block; padding: 18px 22px 20px; background: var(--bg); color: var(--fg); border-radius: 8px; --cut: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.note::after { content: ""; position: absolute; right: 0; bottom: 0; width: var(--cut); height: var(--cut); background: linear-gradient(135deg, var(--fold) 50%, transparent 50%); }
.note strong { display: block; font: 600 clamp(17px, 1.6vw, 20px)/1.2 var(--font-sans); letter-spacing: -.02em; }
.note span, .note p { display: block; margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: rgba(0,13,79,.72); }
.note p + p { margin-top: 12px; }
.note p strong { display: inline; font-size: inherit; font-weight: 600; color: var(--ink); }
.note small { display: block; margin-bottom: 4px; font: 400 14px/1 var(--font-display); color: rgba(0,13,79,.55); }
.ab .note[data-c="blue"] span { color: rgba(255,255,255,.82); }

/* round icon badge */
.ic { display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); color: var(--fg); font-style: normal; font-size: 15px; border: 2px solid #fff; }
.ic em { font-style: normal; }

/* white pill button with a pin */
.ab-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 8px; background: #fff; color: var(--ink); font: 600 14px/1 var(--font-sans); text-decoration: none; transition: transform .35s var(--ease), background .2s; }
.ab-cta:hover { transform: translateY(-3px); background: var(--lime); }
.ab-cta .pin { position: absolute; right: -5px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
.ab-cta:hover .pin { background: #fff; }

.ab-line { margin: 0; font: 500 clamp(19px, 2.4vw, 28px)/1.35 var(--font-sans); letter-spacing: -.02em; color: #fff; }
.ab-line span { display: block; color: var(--muted); }
.ab-line.right { text-align: right; margin: 8px 0 0 auto; max-width: 18em; }

.sq { position: absolute; width: 84px; height: 12px; fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .75; pointer-events: none; }
.sq.s1 { left: 9%; bottom: 22%; }
.sq.s2 { right: 7%; top: 12%; }

/* ---------- hero ---------- */
.ab-hero { min-height: clamp(460px, 62vw, 640px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; border-top: 0 !important; }
.ab-h1 { margin: 0; font: 600 clamp(40px, 8.4vw, 104px)/1.02 var(--font-sans); letter-spacing: -.05em; color: #fff; }
.ab-h1 span { display: block; }
.ab-h1 .l2 { margin-left: clamp(0px, 5vw, 70px); }
.ab-h1 .l3 { margin-top: .08em; }
.ab-h1 .tag { margin-inline: .06em; }
.ab-h1 .l2 .tag { rotate: -4deg; }
.ab-h1 .l3 .tag:last-child { rotate: 3deg; }
.ab-h1.mid { font-size: clamp(36px, 7vw, 88px); }
.ab-cap { margin: 0; max-width: 34ch; color: var(--muted); font-size: clamp(14px, 1.3vw, 16px); line-height: 1.55; }

/* ---------- why us ---------- */
.ab-why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ab-why-l { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.ab-stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ab-stack .note { width: min(100%, 360px); margin-top: -12px; }
.ab-stack .note b { display: block; font: 600 clamp(28px, 3.4vw, 40px)/1 var(--font-sans); letter-spacing: -.04em; margin-bottom: 6px; }
.ab-stack .n1 { rotate: 2deg; margin-left: 12%; margin-top: 0; }
.ab-stack .n2 { rotate: -1.5deg; margin-left: 26%; }
.ab-stack .n3 { rotate: 2.5deg; margin-left: 8%; }
.ab-stack .n4 { rotate: -2deg; margin-left: 30%; }

/* ---------- story ---------- */
.ab-story { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
.ab-story-grid { width: 100%; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(14px, 2.4vw, 28px); align-items: center; }
.ab-story .note.wide { padding: clamp(20px, 3vw, 34px); --cut: 26px; rotate: -1deg; }
.ab-story .note.wide p { font-size: clamp(14.5px, 1.3vw, 16.5px); }
.photo, .pola { position: relative; display: block; margin: 0; padding: 9px; background: #fff; border-radius: 8px; --cut: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.photo img, .pola img { display: block; width: 100%; height: auto; border-radius: 4px; background: #e9eaf3; }
.fold { position: absolute; right: 0; bottom: 0; width: var(--cut, 20px); height: var(--cut, 20px); background: linear-gradient(135deg, var(--fold) 50%, transparent 50%); }
.photo.p1 { rotate: 3deg; }
.photo.p2 { rotate: -3deg; }

/* ---------- services ---------- */
.ab-svc { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.ab-chips { list-style: none; margin: 18px 0 8px; padding: 0; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px clamp(14px, 2.4vw, 30px); }
.ab-chips li:nth-child(3n+2) { margin-top: 26px; }
.chip-n { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px; border-radius: 12px; background: #fff; color: var(--ink); font: 600 clamp(16px, 1.7vw, 21px)/1.1 var(--font-sans); letter-spacing: -.02em; text-decoration: none; rotate: var(--r, 0deg); transition: translate .4s var(--ease), rotate .4s var(--ease), background .2s; }
.chip-n:hover { rotate: 0deg; translate: 0 -5px; background: var(--lime); }
.ab-svc .ab-cta { align-self: center; margin-top: 8px; }

/* ---------- values ---------- */
.ab-val { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
.ab-vals { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.ab-vals .note { --cut: 18px; }
.ab-vals .note:nth-child(odd) { rotate: -1.5deg; }
.ab-vals .note:nth-child(even) { rotate: 1.5deg; margin-top: 14px; }

/* ---------- work ---------- */
.ab-work { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
.ab-polas { width: 100%; display: flex; justify-content: center; align-items: flex-start; gap: clamp(8px, 2vw, 26px); }
.pola { width: min(30%, 300px); color: var(--ink); text-decoration: none; transition: translate .45s var(--ease), rotate .45s var(--ease); }
.pola img { aspect-ratio: 4 / 3; object-fit: cover; }
.pola > span { display: block; padding: 12px 6px 8px; font-size: 13.5px; line-height: 1.45; font-weight: 500; }
.pola .ic { position: absolute; left: 18px; top: 18px; z-index: 1; }
.pola.a { rotate: -4deg; margin-top: 30px; }
.pola.b { rotate: 1.5deg; margin-top: 0; }
.pola.c { rotate: 5deg; margin-top: 40px; }
.pola:hover { rotate: 0deg; translate: 0 -8px; }
.ab-work .ab-cta { align-self: center; }

/* ---------- closing ---------- */
.ab-end { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding-block: clamp(72px, 10vw, 140px); }
.ab-end .ab-h1 .l2 { margin-left: 0; }
.ab-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.ab-contact a, .ab-contact span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--light); font-size: 14.5px; text-decoration: none; }
.ab-contact i { color: var(--lime); }
.ab-contact a:hover { color: var(--lime); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .ab-why { grid-template-columns: 1fr; }
  .ab-story-grid { grid-template-columns: 1fr 1fr; }
  .ab-story .note.wide { grid-column: 1 / -1; }
  .ab-line.right { text-align: left; margin-left: 0; }
}
@media (max-width: 640px) {
  .ab-s { padding-inline: 16px; }
  .ab-hero { min-height: 440px; }
  .ab-h1 .l2 { margin-left: 0; }
  .ab-stack .n1 { margin-left: 2%; } .ab-stack .n2 { margin-left: 10%; } .ab-stack .n3 { margin-left: 0; } .ab-stack .n4 { margin-left: 12%; }
  .ab-chips { gap: 12px; }
  .ab-chips li:nth-child(3n+2) { margin-top: 0; }
  .chip-n { padding: 8px 14px 8px 8px; font-size: 15px; gap: 8px; }
  .chip-n .ic { width: 30px; height: 30px; font-size: 13px; }
  .ab-polas { flex-direction: column; align-items: center; gap: 18px; }
  .pola { width: min(100%, 320px); margin-top: 0 !important; }
  .ab-vals { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sq { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ab-cta, .chip-n, .pola { transition: none; } }

/* why-us stack: white text */
.ab-stack .note, .ab-stack .note b, .ab-stack .note strong, .ab-stack .note span { color: #fff; }
.ab-stack .note span { opacity: .92; }
.ab-stack .n1, .ab-stack .n1 b, .ab-stack .n1 strong, .ab-stack .n1 span { color: #3A4EFB; opacity: 1; }
.ab-stack .n3, .ab-stack .n3 b, .ab-stack .n3 strong, .ab-stack .n3 span { color: #3A4EFB; opacity: 1; }
