
/* =========================
   GLOBAL RESET
========================= */

* {
    box-sizing: border-box;
}

html {
    background: #f5f4f1;
}

body {
    margin: 0;
    background: #f5f4f1;
    color: #141414;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

/* =========================
   MAIN LAYOUT
========================= */

.card-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(410px, 45vw) 1fr;
    background: #f9f8f5;
}

/* =========================
   IDENTITY PANEL
========================= */

.identity-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: #191919;
    color: #fff;
}

.identity-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    filter: saturate(0.78) contrast(1.04);
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 43%,
        rgba(0, 0, 0, 0.96) 54%,
        rgba(0, 0, 0, 0.72) 68%,
        rgba(0, 0, 0, 0.34) 82%,
        transparent 98%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 43%,
        rgba(0, 0, 0, 0.96) 54%,
        rgba(0, 0, 0, 0.72) 68%,
        rgba(0, 0, 0, 0.34) 82%,
        transparent 98%
    );
    z-index: -3;
}

.photo-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            180deg,
            rgba(17, 17, 17, 0) 36%,
            rgba(17, 17, 17, 0.03) 48%,
            rgba(17, 17, 17, 0.13) 58%,
            rgba(17, 17, 17, 0.30) 69%,
            rgba(17, 17, 17, 0.54) 79%,
            rgba(17, 17, 17, 0.78) 88%,
            #111 98%
        ),
        linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.27),
            transparent 35%,
            rgba(10, 10, 10, 0.04)
        );
}

.identity-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.identity-copy {
    position: absolute;
    left: 28px;
    right: 53px;
    bottom: 9%;
    transform: translateY(38px);
    animation: copy-in 0.7s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.identity-copy h1 {
    margin: 16px 0 0;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1.6px;
    line-height: 0.95;
}

.identity-copy h1 em {
    display: block;
    color: #f04424;
    font-style: normal;
}

.identity-rule {
    width: 43px;
    height: 3px;
    margin: 27px 0 18px;
    background: #f04424;
}

.identity-role {
    max-width: 495px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.2px;
    line-height: 20px;
}

.identity-company {
    margin: 28px 0 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.identity-tagline {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    letter-spacing: 0.03em;
}

/* =========================
   TYPOGRAPHY
========================= */

.eyebrow {
    margin: 0;
    color: #898780;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: 1.55;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.62);
}

.about-block {
    max-width: 360px;
    margin-top: 42px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.about-block p:last-child {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.65;
}

/* =========================
   DETAILS PANEL
========================= */

.details-panel {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 92% 7%,
            rgba(240, 68, 36, 0.07),
            transparent 22%
        ),
        linear-gradient(135deg, #fbfaf7 0%, #f6f5f1 100%);
}

.details-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 4px;
    background: #f04424;
}

.details-panel::after {
    content: "";
    position: absolute;
    top: 42px;
    right: -68px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(240, 68, 36, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.details-inner {
    max-width: 650px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 9.3vh 8.2% 36px;
    display: flex;
    flex-direction: column;
    animation: details-in 0.7s 0.08s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.details-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 40px;
    border-bottom: 1px solid #d9d8d3;
}

.header-stamp {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    border: 1px solid #e4e2db;
    color: #f04424;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

/* =========================
   SVG ICON FIX
========================= */

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    color: #f04424;
    flex-shrink: 0;
    line-height: 0;
    overflow: hidden;
}

.icon svg {
    display: block;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px;
    overflow: hidden;
    box-sizing: border-box;
}

.icon img {
    display: block;
    width: 18px;
    height: 18px;
    max-width: 18px;
    object-fit: contain;
}

/* =========================
   SPECIFICATION SHEET
========================= */

.spec-sheet {
    position: relative;
    z-index: 1;
    border-bottom: 1px solid #d9d8d3;
}

.spec-row {
    position: relative;
    display: block;
    padding: 22px 28px 21px 0;
    border-bottom: 1px solid #d9d8d3;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.spec-row:last-child {
    border-bottom: 0;
}

.spec-row:hover {
    padding-left: 8px;
    color: #f04424;
}

.spec-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8c8b84;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.21em;
}

.spec-row strong {
    display: block;
    margin-top: 10px;
    color: #111;
    font-size: 15px;
    font-weight: 600;
}

.spec-row:hover strong {
    color: #f04424;
}

.row-arrow {
    position: absolute;
    top: 25px;
    right: 0;
    color: #b0afa9;
}

.company-row {
    padding-top: 25px;
}

/* =========================
   SAVE CONTACT
========================= */

.save-contact-block {
    position: relative;
    z-index: 1;
    padding: 33px 0 29px;
}

.save-button {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    background: #f04424;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    transition: background 0.2s ease, transform 0.2s ease;
}

.save-button:hover {
    background: #d9361d;
}

.save-button:active {
    transform: scale(0.97);
}

.save-contact-block p {
    max-width: 340px;
    margin: 12px 0 0;
    color: #96948d;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.55;
}

/* =========================
   ACTION BUTTONS
========================= */

.action-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 63px;
    padding: 0 14px;
    border: 1px solid #d7d6d0;
    color: #111;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.action-button:hover {
    border-color: #111;
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}

.action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: #f04424;
    flex-shrink: 0;
    line-height: 0;
}

.action-icon svg {
    display: block;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
}

.action-arrow {
    margin-left: auto;
    color: #aaa9a3;
}

/* =========================
   CONNECT SECTION
========================= */

.connect-section {
    position: relative;
    z-index: 1;
    margin-top: 46px;
}

.section-heading {
    margin-bottom: 13px;
}

.connect-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 13px 16px;
    border: 1px solid #dfded8;
    background: linear-gradient(100deg, #f2f0eb, #fbfaf7);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.connect-card:hover {
    border-color: rgba(240, 68, 36, 0.5);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
    transform: translateY(-2px);
}

.connect-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    background: #111;
    color: #f04424;
}

.connect-card-icon svg {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
}

.connect-card strong {
    display: block;
    color: #111;
    font-size: 13px;
}

.connect-card small {
    display: block;
    margin-top: 5px;
    color: #85837d;
    font-size: 11px;
    line-height: 1.35;
}

.connect-send {
    margin-left: auto;
    color: #f04424;
}

.company-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 1px 0;
    color: #111;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.company-link:hover {
    color: #f04424;
}

/* =========================
   FOOTER
========================= */

.details-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 47px;
    color: #aaa9a3;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes copy-in {
    from {
        opacity: 0;
        transform: translateY(44px);
    }

    to {
        opacity: 1;
        transform: translateY(38px);
    }
}

@keyframes details-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   TABLET RESPONSIVE
========================= */

@media (max-width: 920px) {
    .card-shell {
        grid-template-columns: 1fr;
    }

    .identity-panel {
        min-height: 780px;
    }

    .identity-copy {
        bottom: 10%;
    }

    .details-inner {
        min-height: auto;
        padding: 70px 9vw 35px;
    }

    .details-footer {
        margin-top: 70px;
    }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 560px) {
    .identity-panel {
        min-height: 720px;
    }

    .identity-copy {
        left: 20px;
        right: 20px;
        bottom: 62px;
        transform: translateY(25px);
    }

    .identity-role {
        font-size: 10px;
        letter-spacing: 1.1px;
        line-height: 15px;
    }

    .identity-company {
        margin-top: 22px;
        font-size: 9px;
    }

    .about-block {
        margin-top: 30px;
    }

    .details-inner {
        padding: 53px 24px 28px;
    }

    .details-header {
        padding-bottom: 30px;
    }

    .header-stamp {
        display: none;
    }

    .spec-row strong {
        font-size: 13px;
    }

    .action-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .action-button {
        min-height: 57px;
    }

    .connect-section {
        margin-top: 38px;
    }

    .connect-card {
        align-items: flex-start;
    }

    .connect-card small {
        max-width: 220px;
    }

    .details-footer {
        flex-direction: column;
        gap: 7px;
        margin-top: 58px;
    }
}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* Consistent SVG icon alignment */
.icon,.action-icon,.button-icon,.link-icon,.inline-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:0}.icon svg,.action-icon svg,.button-icon svg,.link-icon svg,.inline-icon svg{display:block;width:100%;height:100%;overflow:visible}.icon{width:18px;height:18px;min-width:18px;color:#f04424}.action-icon{width:18px;height:18px;min-width:18px;color:#f04424}.button-icon{width:18px;height:18px;min-width:18px;color:#fff}.link-icon{width:16px;height:16px;margin-right:7px;vertical-align:-3px;color:currentColor}.inline-icon{width:16px;height:16px;margin-right:7px;vertical-align:-3px;color:rgba(255,255,255,.88)}.identity-role,.identity-company{display:flex;align-items:center}.spec-label{min-height:18px}.connect-card-icon{display:grid;place-items:center}.connect-card-icon svg{width:20px;height:20px;display:block}@media(max-width:560px){.inline-icon{width:14px;height:14px;flex-basis:14px;margin-right:6px}}


/* =========================================================
   REQUESTED TYPE SYSTEM
   Header: Archivo Expanded
   Subtext: Inter
   Numerical: IBM Plex Mono
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap");

html,
body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

.identity-copy h1,
.details-header .eyebrow,
.header-stamp,
.spec-label,
.save-button,
.action-button,
.section-heading,
.company-link,
.details-footer {
    font-family: "Archivo Expanded", Arial, Helvetica, sans-serif;
}

.identity-copy h1 {
    font-weight: 800;
}

.identity-role,
.identity-company,
.identity-tagline,
.about-block p,
.spec-row strong,
.save-contact-block p,
.connect-card strong,
.connect-card small {
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

/* Numerical / technical values */
.spec-row strong {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Keep the email and website values visually identical */
.spec-row strong {
    display: block;
    margin-top: 10px;
    line-height: 1.35;
    word-break: break-word;
}

/* Email and website should stack exactly the same way */
.spec-row .spec-label + strong {
    width: 100%;
}

.spec-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.spec-row .row-arrow {
    top: 25px;
    right: 0;
}

/* The arrow remains independently positioned; don't let it affect the value layout. */
.spec-row .row-arrow {
    position: absolute;
}

/* Better WhatsApp icon rendering */
.action-button .action-icon svg {
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Header stamp: text only, no decorative mark */
.header-stamp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 8px 11px;
    letter-spacing: 0.13em;
}

/* Prevent Archivo Expanded from making compact utility labels too wide */
.header-stamp,
.spec-label,
.save-button,
.action-button,
.company-link,
.details-footer {
    font-weight: 700;
}
