@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* ── Wrapper ─────────────────────────────────────────────────────── */
.gjss-wrapper {
    font-family: "Inter", sans-serif;
    color: #fff;
}

/* ── Sections ────────────────────────────────────────────────────── */
.gjss-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    position: relative;
}

.gjss-section:not(.gjss-section--blog)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.1);
    z-index: 1;
}

/* ── Text block ──────────────────────────────────────────────────── */
.gjss-text-block {
    position: relative;
    z-index: 2;
    padding: 0 95px;
    max-width: 900px;
    display: flex;
    align-items: baseline;
    flex-direction: column;
    gap: 40px;
    top: -30px;
}

.gjss-fixed-text {
    font-size: clamp(1.5rem, 3.5vw, 4rem);
    font-weight: 300;
    color: #fff;
    white-space: nowrap;
    margin-left: 40px;
}

.gjss-word-container {
    display: grid;
    font-size: clamp(1.5rem, 3.5vw, 4rem);
}

.gjss-word {
    grid-area: 1 / 1;
    font-size: inherit;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .5s ease, transform .5s ease;
    color: #fff;
}

.gjss-word.is-active {
    opacity: 1;
    transform: translateY(0);
}

.gjss-word.is-exit {
    opacity: 0;
    transform: translateY(-40px);
}

/* ── Nav dots ────────────────────────────────────────────────────── */
.gjss-nav {
    position: fixed;	
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.gjss-nav.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.gjss-nav__dot-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.gjss-nav__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.4);
    background: transparent;
    cursor: pointer;
    transition: all .3s ease;
    padding: 0;
    flex-shrink: 0;
}

.gjss-nav__dot.is-active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.3);
}

.gjss-nav__dot:hover { border-color: rgba(255,255,255,.8); }

/* Tooltip */
.gjss-nav__label {
    position: absolute;
	top:-40px;
    left: 0px;
    white-space: nowrap;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,.55);
    padding: 4px 10px;
    border-radius: 3px;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s ease, transform .2s ease;
}

.gjss-nav__dot-wrap:hover .gjss-nav__label {
    opacity: 1;
    transform: translateX(0);
}

/* Light panel overrides */
.gjss-nav.is-on-light .gjss-nav__dot      { border-color: rgba(0,0,0,.25); }
.gjss-nav.is-on-light .gjss-nav__dot.is-active { background: #333; border-color: #333; }
.gjss-nav.is-on-light .gjss-nav__dot:hover { border-color: rgba(0,0,0,.6); }
.gjss-nav.is-on-light .gjss-nav__label    { background: rgba(0,0,0,.7); }

/* ── Blog panel ──────────────────────────────────────────────────── */
.gjss-section--blog {
    background: #f7f7f5;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.gjss-blog-panel {
    width: 100%;
    padding: 60px 60px 80px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.gjss-blog-panel__header {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding-bottom: 24px;
}

.gjss-blog-panel__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #888;
}

.gjss-blog-panel__title {
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.15;
}

/* Blog post card overrides */
.gjss-blog-panel .divi-blog-sc {
    --dsc-accent:       var(--gjss-accent, #3d7a3e);
    --dsc-read-more-bg: var(--gjss-accent, #3d7a3e);
    --dsc-heading:      #1a1a1a;
    --dsc-text:         #555;
    --dsc-meta:         #999;
    --dsc-border:       rgba(0,0,0,.07);
    --dsc-gap:          28px;
    --dsc-radius:       4px;
}

.gjss-blog-panel .divi-blog-sc__post {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}

.gjss-blog-panel .divi-blog-sc__post:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

.gjss-blog-panel .divi-blog-sc__body { padding: 20px 20px 0; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .gjss-text-block  { padding: 0 24px; }
    .gjss-blog-panel  { padding: 40px 24px 60px; }
}

/* ── Blog pagination bar ─────────────────────────────────────────── */
.gjss-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 28px 0 8px;
    border-top: 1px solid rgba(0,0,0,.07);
    margin-top: 32px;
}

.gjss-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gjss-accent, #fff);
    background: transparent;
    border: 1.5px solid var(--gjss-accent, #fff);
    border-radius: 3px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
    line-height: 1;
}

.gjss-page-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.gjss-page-btn:hover:not(:disabled) {
    background: var(--gjss-accent, #fff);
    color: #fff;
}

.gjss-page-btn:disabled {
    opacity: .3;
    cursor: default;
}

.gjss-page-info {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #fff;
    min-width: 90px;
    text-align: center;
}

/* Loading fade on posts container */
#gjss-posts-container {
    transition: opacity .25s ease;
}
@media (max-width: 980px) {
	.gjss-section {
    background-position: 70% center;
}
}