/*
Theme Name: Gopal Portfolio
Theme URI: https://example.com/gopal-portfolio
Author: Custom Theme
Author URI: https://example.com
Description: A Twenty Twenty-Five child theme for a password-protected male product designer portfolio inspired by a clean orange, black, and white Figma layout.
Version: 1.0.6
Template: twentytwentyfive
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gopal-portfolio
Tags: portfolio, custom-logo, custom-menu, featured-images, block-styles
*/

:root {
    --jp-bg: #f7f8fb;
    --jp-surface: #ffffff;
    --jp-ink: #14171f;
    --jp-muted: #6e7480;
    --jp-soft: #eef0f4;
    --jp-line: #e3e6ec;
    --jp-orange: #ff7a2d;
    --jp-orange-2: #ffb16b;
    --jp-dark: #111215;
    --jp-dark-2: #1d1f24;
    --jp-radius: 24px;
    --jp-radius-sm: 14px;
    --jp-shadow: 0 24px 80px rgba(15, 17, 22, 0.12);
    --jp-container: 1180px;
    --jp-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--jp-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 122, 45, 0.12), transparent 26rem),
        radial-gradient(circle at 88% 24%, rgba(255, 177, 107, 0.14), transparent 22rem),
        var(--jp-bg);
    font-family: var(--jp-font);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

body.admin-bar .jp-site-header {
    top: 32px;
}

body .wp-site-blocks {
    padding: 0;
}

body .wp-site-blocks > *,
body .wp-block-group.alignfull,
body .wp-block-shortcode {
    margin-block-start: 0;
}

body .is-layout-constrained > .wp-block-group.alignfull,
body .is-layout-constrained > .wp-block-shortcode,
body .wp-block-group.alignfull > .wp-block-shortcode {
    width: 100% !important;
    max-width: none !important;
}

body .wp-block-shortcode {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

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

img,
svg {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.jp-page-shell {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 24px clamp(18px, 4vw, 48px) 0;
}

.jp-main {
    width: 100%;
}

.jp-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 0;
    backdrop-filter: blur(18px);
}

.jp-nav {
    width: min(calc(100vw - 48px), var(--jp-container));
    min-height: 64px;
    margin: 0 auto;
    padding: 9px 12px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    background: rgba(17, 18, 21, 0.92);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 20px 70px rgba(17, 18, 21, 0.18);
}

.jp-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    letter-spacing: 0;
}

.jp-brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #111215;
    background: var(--jp-orange);
    border-radius: 50%;
    font-size: 0.82rem;
}

.jp-brand .custom-logo-link {
    display: inline-flex;
}

.jp-brand .custom-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
}

.jp-brand-name {
    color: inherit;
}

.jp-menu {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jp-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
}

.jp-menu a:hover,
.jp-menu .current-menu-item > a {
    color: #111215;
    background: #fff;
}

.jp-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jp-btn,
.jp-link-btn,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--jp-orange);
    color: #fff;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    white-space: nowrap !important;
    word-break: keep-all;
    overflow-wrap: normal;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.jp-btn br,
.jp-link-btn br,
.wp-block-button__link br {
    display: none !important;
}

.jp-nav-actions .jp-btn,
.jp-hero-actions .jp-btn,
.jp-section-head > .jp-btn {
    min-width: 124px;
}

.jp-contact-band .jp-btn {
    min-width: 132px;
}

.jp-btn:hover,
.jp-link-btn:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px);
    background: #f36b1d;
    box-shadow: 0 14px 30px rgba(255, 122, 45, 0.28);
}

.jp-btn-dark {
    background: var(--jp-dark);
    color: #fff;
}

.jp-btn-dark:hover {
    background: #000;
    box-shadow: 0 14px 30px rgba(17, 18, 21, 0.24);
}

.jp-btn-light {
    background: #fff;
    color: var(--jp-ink);
}

.jp-icon-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
}

.jp-section {
    width: min(calc(100vw - 48px), var(--jp-container));
    margin: 0 auto;
    padding: 78px 0;
}

.jp-hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
    padding-top: 36px;
}

.jp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--jp-orange);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.jp-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--jp-orange);
}

.jp-hero-title {
    max-width: 660px;
    margin: 14px 0 18px;
    font-size: clamp(3.4rem, 6.6vw, 6.4rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.jp-hero-title em {
    color: var(--jp-orange);
    font-style: normal;
}

.jp-hero-copy {
    max-width: 560px;
    margin: 0 0 28px;
    color: var(--jp-muted);
    font-size: 1.08rem;
}

.jp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.jp-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.jp-stat {
    padding: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--jp-line);
    border-radius: var(--jp-radius-sm);
}

.jp-stat strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
}

.jp-stat span {
    display: block;
    margin-top: 6px;
    color: var(--jp-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.jp-hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.jp-hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(82%, 470px);
    height: min(76%, 520px);
    background: linear-gradient(145deg, #ffd3b0, var(--jp-orange));
    border-radius: 48% 48% 8% 8%;
    transform: translate(-50%, -42%);
}

.jp-hero-portrait {
    position: absolute;
    left: 50%;
    bottom: 48px;
    z-index: 2;
    width: min(390px, 64%);
    transform: translateX(-50%);
}

.jp-floating-note {
    position: absolute;
    z-index: 3;
    min-width: 150px;
    padding: 16px 18px;
    color: #fff;
    background: rgba(17, 18, 21, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: var(--jp-shadow);
}

.jp-floating-note strong,
.jp-floating-note span {
    display: block;
}

.jp-floating-note span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    font-weight: 700;
}

.jp-floating-note-one {
    left: 4%;
    top: 48%;
    transform: translateY(-50%);
}

.jp-floating-note-two {
    right: 4%;
    top: 52%;
    transform: translateY(-50%);
}

.jp-services {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 4vw, 46px);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 122, 45, 0.14), transparent 36%),
        var(--jp-dark);
    border-radius: 34px;
    box-shadow: var(--jp-shadow);
}

.jp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 26px;
}

.jp-services .jp-section-head {
    align-items: start;
}

.jp-section-kicker {
    color: var(--jp-orange);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jp-section-title {
    margin: 7px 0 0;
    font-size: clamp(2.2rem, 3.6vw, 4rem);
    line-height: 1;
    letter-spacing: 0;
}

.jp-section-copy {
    max-width: 460px;
    color: var(--jp-muted);
}

.jp-services .jp-section-copy {
    color: rgba(255, 255, 255, 0.72);
}

.jp-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.jp-service-card {
    overflow: hidden;
    min-height: 310px;
    padding: 20px;
    display: grid;
    align-content: space-between;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
}

.jp-service-card h3 {
    margin: 0;
    font-size: 1.18rem;
}

.jp-service-card p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.68);
}

.jp-service-card img {
    width: 100%;
    margin-top: 20px;
    border-radius: 16px;
}

.jp-timeline {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 10px 0;
}

.jp-timeline::before {
    content: "";
    position: absolute;
    top: 38px;
    bottom: 38px;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--jp-line) 10%, var(--jp-line) 90%, transparent);
    transform: translateX(-50%);
}

.jp-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.jp-timeline-marker {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
}

.jp-timeline-marker span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--jp-orange);
    border: 5px solid var(--jp-bg);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--jp-line), 0 14px 30px rgba(255, 122, 45, 0.22);
    font-size: 0.76rem;
    font-weight: 900;
}

.jp-experience-card,
.jp-role-card {
    position: relative;
    min-height: 104px;
    padding: 22px 24px;
    background: var(--jp-surface);
    border: 1px solid var(--jp-line);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(17, 18, 21, 0.05);
}

.jp-experience-card::before,
.jp-role-card::before {
    content: "";
    position: absolute;
    inset: 18px auto 18px 0;
    width: 4px;
    background: var(--jp-orange);
    border-radius: 999px;
}

.jp-experience-card h3,
.jp-role-card h3 {
    margin: 6px 0 0;
    font-size: 1.05rem;
}

.jp-timeline-label {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 9px;
    color: var(--jp-orange);
    background: #fff0e8;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.jp-experience-card span,
.jp-role-card span {
    display: block;
    margin-top: 5px;
    color: var(--jp-muted);
    font-size: 0.88rem;
}

.jp-experience-card .jp-timeline-label,
.jp-role-card .jp-timeline-label {
    display: inline-flex;
    margin-top: 0;
    color: var(--jp-orange);
    font-size: 0.68rem;
}

.jp-experience-card .jp-period {
    display: inline-flex;
    margin-top: 12px;
    padding: 6px 10px;
    background: var(--jp-soft);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.jp-hire-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(320px, 0.46fr) minmax(0, 0.54fr);
    gap: clamp(30px, 4vw, 56px);
    align-items: center;
    padding: clamp(34px, 4vw, 54px);
    background:
        linear-gradient(135deg, rgba(255, 122, 45, 0.08), transparent 42%),
        var(--jp-soft);
    border: 1px solid rgba(227, 230, 236, 0.8);
    border-radius: 34px;
    box-shadow: 0 24px 80px rgba(17, 18, 21, 0.08);
}

.jp-hire-visual {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.34), transparent 34%),
        linear-gradient(150deg, #ffb16b, var(--jp-orange));
    border-radius: 28px;
}

.jp-hire-visual::after {
    content: "";
    position: absolute;
    inset: auto 12% -34px;
    height: 78px;
    background: rgba(17, 18, 21, 0.18);
    filter: blur(18px);
    border-radius: 50%;
}

.jp-hire-visual img {
    position: relative;
    z-index: 4;
    width: min(70%, 260px);
    margin: 0 auto;
}

.jp-hire-ui-card,
.jp-hire-ui-panel {
    position: absolute;
    z-index: 3;
    background: rgba(17, 18, 21, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 38px rgba(17, 18, 21, 0.18);
}

.jp-hire-ui-card {
    min-width: 112px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    color: #fff;
    border-radius: 14px;
    font-size: 0.74rem;
    font-weight: 900;
}

.jp-hire-ui-card span {
    width: 18px;
    height: 18px;
    background: var(--jp-orange);
    border-radius: 50%;
}

.jp-hire-ui-card-one {
    top: 34px;
    left: 26px;
}

.jp-hire-ui-card-two {
    right: 28px;
    top: 88px;
}

.jp-hire-ui-panel {
    left: 28px;
    bottom: 94px;
    width: 128px;
    padding: 14px;
    display: grid;
    gap: 8px;
    border-radius: 18px;
}

.jp-hire-ui-panel span {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
}

.jp-hire-ui-panel span:nth-child(1) {
    width: 82px;
    background: #fff;
}

.jp-hire-ui-panel span:nth-child(2) {
    width: 54px;
    background: var(--jp-orange);
}

.jp-hire-ui-panel span:nth-child(3) {
    width: 96px;
}

.jp-hire-badge {
    position: absolute;
    z-index: 3;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    color: #fff;
    background: rgba(17, 18, 21, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(17, 18, 21, 0.18);
}

.jp-hire-badge strong,
.jp-hire-badge span {
    display: block;
}

.jp-hire-badge strong {
    font-size: 1.4rem;
    line-height: 1;
}

.jp-hire-badge span {
    max-width: 150px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.jp-hire-content {
    max-width: 620px;
}

.jp-hire-card h2 {
    margin: 0 0 14px;
    font-size: clamp(2.5rem, 4.2vw, 4.2rem);
    line-height: 1;
}

.jp-hire-card .jp-section-copy {
    max-width: 560px;
    font-size: 1.02rem;
}

.jp-hire-points {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 22px;
}

.jp-hire-points span {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: var(--jp-ink);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--jp-line);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
}

.jp-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.jp-mini-stat {
    position: relative;
    min-height: 96px;
    padding: 18px 18px 18px 58px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--jp-line);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(17, 18, 21, 0.05);
}

.jp-mini-stat::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    width: 24px;
    height: 24px;
    background:
        linear-gradient(90deg, #fff 40%, transparent 40%),
        var(--jp-orange);
    border-radius: 8px;
}

.jp-mini-stat strong {
    display: block;
    font-size: 1.2rem;
}

.jp-mini-stat span {
    color: var(--jp-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.jp-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 22px;
}

.jp-project-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    background: var(--jp-surface);
    border: 1px solid var(--jp-line);
    border-radius: 26px;
    box-shadow: 0 14px 40px rgba(17, 18, 21, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.jp-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(17, 18, 21, 0.12);
}

.jp-project-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    padding: 18px;
    background: linear-gradient(145deg, #f3f5f8, #e9edf4);
}

.jp-project-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.jp-project-body {
    padding: 22px;
}

.jp-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.jp-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    color: var(--jp-muted);
    background: var(--jp-soft);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.jp-project-body h3 {
    margin: 0 0 8px;
    font-size: 1.28rem;
    line-height: 1.18;
}

.jp-project-body p {
    margin: 0;
    color: var(--jp-muted);
    min-height: 3em;
}

.jp-project-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--jp-orange);
    font-weight: 900;
}

.jp-testimonials {
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 122, 45, 0.18), transparent 40%),
        var(--jp-dark);
    border-radius: 34px;
}

.jp-testimonials-inner {
    padding: clamp(34px, 4vw, 54px);
}

.jp-testimonial-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.jp-testimonial-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
}

.jp-stars {
    color: var(--jp-orange-2);
    letter-spacing: 0.12em;
    font-size: 0.88rem;
}

.jp-testimonial-card p {
    color: rgba(255, 255, 255, 0.76);
}

.jp-testimonial-card strong,
.jp-testimonial-card span {
    display: block;
}

.jp-testimonial-card span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
}

.jp-contact-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: clamp(28px, 4vw, 42px);
    background: var(--jp-surface);
    border: 1px solid var(--jp-line);
    border-radius: 32px;
}

.jp-contact-band h2 {
    margin: 0;
    font-size: clamp(2.15rem, 3.6vw, 4.2rem);
    line-height: 1;
}

.jp-contact-band h2 em {
    color: var(--jp-orange);
    font-style: normal;
}

.jp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 18px;
}

.jp-post-card {
    overflow: hidden;
    background: var(--jp-surface);
    border: 1px solid var(--jp-line);
    border-radius: 24px;
}

.jp-post-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    padding: 14px;
    object-fit: contain;
    background: var(--jp-soft);
}

.jp-post-card-body {
    padding: 18px;
}

.jp-post-card time {
    color: var(--jp-orange);
    font-size: 0.78rem;
    font-weight: 900;
}

.jp-post-card h3 {
    margin: 8px 0 0;
    font-size: 1rem;
}

.jp-site-footer {
    color: #fff;
    background: var(--jp-dark);
    border-radius: 28px 28px 0 0;
}

.jp-footer-inner {
    width: min(calc(100vw - 48px), var(--jp-container));
    margin: 0 auto;
    padding: 28px 0;
    display: grid;
    gap: 18px;
}

.jp-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jp-socials a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
}

.jp-footer-top,
.jp-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.jp-footer-links,
.jp-footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.jp-footer-links a,
.jp-footer-contact a,
.jp-footer-contact span,
.jp-footer-bottom > span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    font-weight: 800;
}

.jp-footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.jp-footer-links a:hover,
.jp-footer-contact a:hover {
    color: #fff;
}

.jp-content-page {
    width: min(100%, 860px);
    margin: 0 auto;
    padding: 64px 0 90px;
}

.jp-content-page article {
    padding: 34px;
    background: var(--jp-surface);
    border: 1px solid var(--jp-line);
    border-radius: 28px;
}

.jp-password-gate {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.jp-password-gate p {
    color: var(--jp-muted);
}

.jp-password-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 24px;
}

.jp-password-form input {
    min-height: 50px;
    width: 100%;
    padding: 0 18px;
    color: var(--jp-ink);
    background: var(--jp-soft);
    border: 1px solid var(--jp-line);
    border-radius: 999px;
    outline: none;
}

.jp-password-form input:focus {
    border-color: var(--jp-orange);
    box-shadow: 0 0 0 4px rgba(255, 122, 45, 0.14);
}

.jp-password-error {
    margin-top: 18px;
    padding: 12px 14px;
    color: #8a2b0f;
    background: #fff0e8;
    border: 1px solid #ffd2bd;
    border-radius: 14px;
    font-weight: 800;
}

.jp-content-page h1 {
    margin-top: 0;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
}

.jp-pagination {
    margin-top: 30px;
}

.jp-pagination .nav-links {
    display: flex;
    gap: 10px;
}

.jp-pagination a,
.jp-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    background: var(--jp-surface);
    border: 1px solid var(--jp-line);
    border-radius: 999px;
    font-weight: 800;
}

.jp-pagination .current {
    color: #fff;
    background: var(--jp-orange);
    border-color: var(--jp-orange);
}

@media (max-width: 960px) {
    .jp-page-shell {
        padding: 14px 14px 0;
    }

    .jp-nav {
        width: min(calc(100vw - 28px), var(--jp-container));
        grid-template-columns: 1fr auto;
        border-radius: 22px;
    }

    .jp-menu {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .jp-hero,
    .jp-hire-card,
    .jp-contact-band,
    .jp-footer-inner {
        grid-template-columns: 1fr;
    }

    .jp-hero {
        min-height: auto;
        padding-top: 24px;
    }

    .jp-hero-visual {
        min-height: 520px;
        order: -1;
    }

    .jp-service-grid,
    .jp-testimonial-row,
    .jp-blog-grid {
        grid-template-columns: 1fr;
    }

    .jp-project-grid {
        grid-template-columns: 1fr;
    }

    .jp-timeline::before {
        left: 21px;
    }

    .jp-timeline-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
    }

    .jp-timeline-marker {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
    }

    .jp-timeline-marker span {
        width: 38px;
        height: 38px;
        border-width: 4px;
    }

    .jp-experience-card,
    .jp-role-card {
        grid-column: 2;
    }

    .jp-hire-visual {
        min-height: 320px;
    }

    .jp-footer-inner {
        width: min(calc(100vw - 28px), var(--jp-container));
    }
}

@media (max-width: 700px) {
    body.admin-bar .jp-site-header {
        top: 46px;
    }

    .jp-section {
        width: min(calc(100vw - 28px), var(--jp-container));
        padding: 46px 0;
    }

    .jp-nav-actions {
        display: none;
    }

    .jp-section-head {
        display: block;
    }

    .jp-section-head > .jp-btn {
        margin-top: 18px;
    }

    .jp-stat-strip {
        grid-template-columns: 1fr;
    }

    .jp-hero-visual {
        min-height: 420px;
    }

    .jp-floating-note {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        inset: auto;
        justify-self: stretch;
        margin: 8px 0;
        transform: none;
    }

    .jp-hero-orbit {
        inset: 56px 8% 0;
    }

    .jp-hero-portrait {
        bottom: 34px;
        width: min(320px, 68%);
    }

    .jp-hire-ui-card,
    .jp-hire-ui-panel {
        display: none;
    }

    .jp-services,
    .jp-hire-card,
    .jp-contact-band,
    .jp-testimonials-inner,
    .jp-content-page article {
        padding: 24px;
        border-radius: 24px;
    }

    .jp-password-form {
        grid-template-columns: 1fr;
    }

    .jp-hire-visual {
        min-height: 280px;
    }

    .jp-hire-badge {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .jp-hire-points {
        flex-wrap: wrap;
    }

    .jp-hire-points span {
        flex-basis: 100%;
    }

    .jp-mini-stats {
        grid-template-columns: 1fr;
    }

    .jp-footer-top,
    .jp-footer-bottom {
        display: grid;
        justify-content: stretch;
    }

    .jp-footer-links,
    .jp-footer-contact {
        gap: 10px;
    }
}
