/* ═══════════════════════════════════════════════════════════
   PAGE-ABOUT.CSS — about.php
   Hero (headline + portrait with sticker badges) · story chapters ·
   three pillars · facts · method path · selected work · CTA
   ═══════════════════════════════════════════════════════════ */

.ab { width: 100%; max-width: 1280px; margin: 0 auto; padding: 1rem 1rem 3rem; }
@media (min-width: 640px)  { .ab { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .ab { padding-inline: 2rem; } }

/* ── Hero ──────────────────────────────────────────────── */
.ab-hero { display: grid; gap: 2rem; align-items: center; padding: 1rem 0 clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 960px) { .ab-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3.5rem; } }
.ab-hero-text { display: flex; flex-direction: column; gap: 1rem; }
.ab-h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--color-gray-900); }
.ab-h1-script { position: relative; display: inline-block; font-family: var(--font-designer); font-weight: 400; letter-spacing: 0; font-size: 1.08em; }
.ab-h1-script svg { position: absolute; width: 112%; left: -6%; height: 40%; bottom: 4%; z-index: -1; overflow: visible; }
.ab-headline { font-size: clamp(1.25rem, 2.6vw, 1.85rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--color-gray-800); max-width: 36rem; }
.ab-intro { font-size: clamp(0.95rem, 1.5vw, 1.05rem); line-height: 1.75; color: var(--color-gray-600); max-width: 38rem; }
.ab-mark { font-weight: 700; color: var(--color-gray-900); padding: 0.05em 0.35em; border-radius: 0.4em; white-space: nowrap; }
.ab-mark--yellow { background: rgba(252, 221, 0, 0.45); }
.ab-mark--blue { background: rgba(147, 197, 253, 0.45); }
.ab-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.ab-btn { height: 3rem; padding: 0 1.6rem; text-decoration: none; }
.ab-btn-alt { display: inline-flex; align-items: center; height: 3rem; padding: 0 1.5rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; border: 1px solid var(--color-gray-200); background: #fff; transition: border-color 0.25s ease; }
.ab-btn-alt:hover { border-color: var(--color-gray-900); }
.ab-btn-cv { gap: 0.45rem; }

.ab-photo { position: relative; justify-self: center; width: min(100%, 26rem); }
.ab-photo-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 2.25rem; overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px -40px rgba(17,24,39,0.5); }
.ab-photo-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(circle at 30% 20%, rgba(252,221,0,0.55), transparent 55%),
        radial-gradient(circle at 80% 85%, rgba(147,197,253,0.6), transparent 55%),
        linear-gradient(160deg, #f6f1e7, #e9e3d7);
}
.ab-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ab-badge {
    position: absolute; z-index: 2; padding: 0.55rem 0.9rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 800; letter-spacing: -0.005em; white-space: nowrap;
    background: #fff; color: var(--color-gray-900);
    border: 1.5px solid #231f20; box-shadow: 3px 3px 0 #231f20; /* sticker motif, like the nav logo */
    animation: abFloat 6s ease-in-out infinite;
}
.ab-badge--1 { top: 8%; left: -8%; background: var(--color-yellow); }
.ab-badge--2 { top: 46%; right: -9%; animation-delay: -2s; }
.ab-badge--3 { bottom: 7%; left: -4%; background: #dbeafe; animation-delay: -4s; }
@keyframes abFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@media (max-width: 640px) {
    .ab-badge { font-size: 0.7rem; padding: 0.45rem 0.75rem; }
    .ab-badge--1 { left: -2%; } .ab-badge--2 { right: -2%; } .ab-badge--3 { left: 2%; }
}

/* ── Story chapters ────────────────────────────────────── */
.ab-story { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); margin-bottom: clamp(3rem, 7vw, 5rem); }
.ab-chapter {
    position: relative; padding: 1.5rem 1.4rem 1.6rem; border-radius: 1.6rem; background: #fff;
    border: 1px solid var(--color-gray-100); box-shadow: var(--shadow-card); overflow: hidden;
}
.ab-chapter-n { position: absolute; right: 1rem; top: 0.4rem; font-size: 3.4rem; font-weight: 800; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--color-gray-200); line-height: 1; }
.ab-chapter-title { position: relative; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.ab-chapter-title::after { content: ''; display: block; width: 2rem; height: 3px; border-radius: 3px; background: var(--color-yellow); margin-top: 0.55rem; }
.ab-chapter-text { position: relative; font-size: 0.92rem; line-height: 1.75; color: var(--color-gray-600); }

/* ── Blocks ────────────────────────────────────────────── */
.ab-block { margin-bottom: clamp(3rem, 7vw, 5rem); }
.ab-block-head { text-align: center; margin-bottom: 1.5rem; }
.ab-block-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; text-align: left; gap: 0.75rem; }
.ab-h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-top: 0.35rem; }
.ab-all { font-size: 0.85rem; font-weight: 700; padding: 0.6rem 1.1rem; border-radius: 999px; background: var(--color-gray-900); color: #fff; }

/* Pillars */
.ab-pillars { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.ab-pillar {
    display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem; border-radius: 1.75rem; background: #fff;
    border: 1px solid var(--color-gray-100); box-shadow: var(--shadow-card);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.ab-pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(17,24,39,0.35); }
.ab-pillar-icon { width: 3.25rem; height: 3.25rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; background: var(--color-gray-900); color: var(--color-yellow); }
.ab-pillar:nth-child(2) .ab-pillar-icon { background: #1d4ed8; color: #fff; }
.ab-pillar:nth-child(3) .ab-pillar-icon { background: var(--color-yellow); color: #111; }
.ab-pillar-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.025em; margin-top: 0.3rem; }
.ab-pillar-text { font-size: 0.92rem; line-height: 1.7; color: var(--color-gray-600); flex: 1; }
.ab-pillar-link { align-self: flex-start; font-size: 0.82rem; font-weight: 800; padding: 0.5rem 0.9rem; border-radius: 999px; background: var(--color-gray-100); transition: background 0.25s ease, color 0.25s ease; }
.ab-pillar-link:hover { background: var(--color-gray-900); color: #fff; }

/* Facts */
.ab-facts { list-style: none; display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.ab-fact { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0.8rem; align-items: center; padding: 1rem 1.1rem; border-radius: 1.2rem; background: #fff; border: 1px solid var(--color-gray-100); }
.ab-fact-icon { grid-row: 1 / span 2; width: 2.5rem; height: 2.5rem; border-radius: 0.8rem; display: flex; align-items: center; justify-content: center; background: var(--color-gray-50); color: var(--color-gray-700); border: 1px solid var(--color-gray-100); }
.ab-fact-label { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-gray-400); }
.ab-fact-value { font-size: 0.9rem; font-weight: 700; color: var(--color-gray-900); line-height: 1.35; }

/* Method path */
.ab-steps { list-style: none; display: grid; gap: 0.8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); counter-reset: none; position: relative; }
@media (min-width: 900px) {
    .ab-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .ab-steps::before { content: ''; position: absolute; left: 4%; right: 4%; top: 1.6rem; height: 2px; background: repeating-linear-gradient(to right, var(--color-gray-300) 0 8px, transparent 8px 14px); }
}
.ab-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; padding: 0 0.25rem; }
.ab-step-n {
    width: 3.2rem; height: 3.2rem; border-radius: 999px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.95rem; background: #fff; border: 2px solid var(--color-gray-900); position: relative; z-index: 1;
    box-shadow: 3px 3px 0 var(--color-yellow);
}
.ab-step-title { font-size: 0.92rem; font-weight: 800; margin-top: 0.35rem; }
.ab-step-desc { font-size: 0.78rem; color: var(--color-gray-500); line-height: 1.5; }

.ab-work { margin-top: 0.25rem; }
@media (min-width: 1100px) { .ab-work { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) { .ab-badge { animation: none; } }
