/* ======================================================
   CEZEL 2.0
   O FIRMIE — WERSJA ZAAKCEPTOWANA
====================================================== */

.about {
    position: relative;
    overflow: hidden;
    min-height: 780px;
    padding: 70px 0 60px;
    background: #f5f1ea;
    color: var(--color-dark);
}

/* ======================================================
   TŁO — ANIMOWANY SZKIC
====================================================== */

.about-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.about-sketch {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: none;
    opacity: .72;
    pointer-events: none;

    clip-path: inset(0 100% 0 0);
    animation: aboutSketchReveal 35s ease-out forwards;
}

.about-sketch svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

/* Sepia — tylko linie szkicu.
   Teksty HTML pozostają ciemne i czytelne. */
.about-sketch svg path,
.about-sketch svg rect,
.about-sketch svg circle {
    stroke: #9a6b4a !important;
    opacity: .90;
    stroke-width: 3px !important;
}

/* Konstrukcyjne linie pomocnicze jeszcze delikatniejsze. */
.about-sketch svg .construction {
    stroke: #9a6b4a !important;
    opacity: .22;
}

/* Tekst wewnątrz SVG pozostaje bardzo subtelny. */
.about-sketch svg text {
    fill: #9a6b4a !important;
    opacity: .35;
}

/* ======================================================
   KONTENER
====================================================== */

.about-container {
    position: relative;
    z-index: 2;
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* ======================================================
   TREŚĆ
====================================================== */

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Wszystko nad podpisem lekko wyżej.
   Podpis pozostaje na swojej wysokości. */

.about-label {
    position: relative;
    transform: translateY(-42px);
}

.about-title,
.about-text {
    position: relative;
    transform: translateY(25px);
}

/* ======================================================
   MAŁY NAGŁÓWEK
====================================================== */

.about-label {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #5b4637;
}

/* Dłuższa, ale nie pełna linia pod "O FIRMIE". */
.about-label::after {
    content: "";
    display: block;
    width: 300px;
    max-width: 42vw;
    height: 1px;
    margin: 16px auto 0;
    background: #8b5e3c;
    opacity: .75;
}

/* ======================================================
   GŁÓWNY TYTUŁ
====================================================== */

.about-title {
    margin: 0 auto 28px;
    max-width: 900px;
    font-family: var(--font-heading);
    font-size: 50px;
    line-height: 1.16;
    font-weight: 700;
    color: #171310;
}

/* ======================================================
   TEKST
====================================================== */

.about-text {
    max-width: 760px;
    margin: 0 auto;
}

.about-text p {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.65;
    color: #332b26;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ======================================================
   PODPIS
====================================================== */

.about-signature {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-top: 0;
    margin-right: 70px;
    transform: translateX(22px);
}

/* Tymczasowo pozostawiamy miejsce na właściwy podpis
   Cezarego — później można podmienić zawartość koła. */
.about-team-photo {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(154, 107, 74, .12);
    border: 1px solid rgba(154, 107, 74, .16);
}

.about-team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-align: center;
    font-size: 8px;
    line-height: 1.2;
    letter-spacing: .04em;
    color: #8b6b55;
}

/* ======================================================
   PODPIS CEZAREGO
====================================================== */

.about-person {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.about-person strong {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #211a16;
}

.about-person span {
    margin-top: 5px;
    font-size: 13px;
    color: #6f5c4e;
}

/* Dodatkowe rozłożenie treści */
.about-text p:nth-child(2) {
    transform: translateY(25px);
}

.about-signature {
    transform: translate(22px, 250px);
}

@keyframes aboutSketchReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* ======================================================
   RESPONSYWNOŚĆ
   Uwaga: główne media queries projektu pozostają
   w responsive.css zgodnie z zasadą projektu.
====================================================== */