/* ==========================================================================
   JIHAD TURKMANI — dark editorial dossier
   System: Plus Jakarta Sans + Mrs Saint Delafield (name only)
   ========================================================================== */

:root {
    --bg: #08080a;
    --surface: #121215;
    --text: #f5f2ef;
    --muted: #9a938c;
    --accent: #ff4a1c;
    --tint: #ffb59c;
    --line: rgba(245, 242, 239, .10);
    --line-strong: rgba(245, 242, 239, .18);
    --ln-accent: rgba(255, 74, 28, .55);
    --maxw: 1240px;
    --rail: 72px;
    --bar: 72px;
    --pad-x: clamp(20px, 5vw, 64px);
    --sec-y: clamp(96px, 10vw, 168px);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1, h2, h3, p, figure {
    margin: 0;
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--accent);
    color: #08080a;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (min-width: 1024px) {
    body {
        padding-left: var(--rail);
    }
}

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */

.jt-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--accent);
    color: #08080a;
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.jt-skip:focus {
    left: 12px;
    top: 12px;
}

/* --------------------------------------------------------------------------
   Fixed top bar
   -------------------------------------------------------------------------- */

.jt-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--bar);
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 var(--pad-x);
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: background-color .35s var(--ease), border-color .35s var(--ease),
        -webkit-backdrop-filter .35s var(--ease), backdrop-filter .35s var(--ease);
}

.jt-bar.is-scrolled,
.jt-bar.is-open {
    background: rgba(18, 18, 21, .94);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--line);
}

@media (min-width: 1024px) {
    .jt-bar {
        left: var(--rail);
        padding: 0 clamp(24px, 3vw, 48px);
    }
}

.jt-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
    transition: color .25s var(--ease);
}

.jt-brand:hover {
    color: var(--tint);
}

/* desktop nav ------------------------------------------------------------ */

.jt-nav {
    display: none;
}

@media (min-width: 1024px) {
    .jt-nav {
        display: flex;
        align-items: center;
        gap: clamp(12px, 1.5vw, 26px);
    }
}

.jt-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .25s var(--ease);
}

.jt-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 11px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s var(--ease);
}

.jt-nav a:hover,
.jt-nav a:focus-visible {
    color: var(--text);
}

.jt-nav a:hover::after,
.jt-nav a:focus-visible::after {
    transform: scaleX(1);
}

.jt-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--muted);
    border-left: 1px solid var(--line);
    padding-left: clamp(12px, 1.4vw, 20px);
    transition: color .25s var(--ease);
}

.jt-lang:hover,
.jt-lang:focus-visible {
    color: var(--accent);
}

.jt-nav .jt-lang::after {
    display: none;
}

.jt-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 clamp(16px, 1.8vw, 22px);
    background: var(--accent);
    color: #08080a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .25s var(--ease), color .25s var(--ease);
}

.jt-cta:hover,
.jt-cta:focus-visible {
    background: var(--tint);
    color: #08080a;
}

.jt-nav .jt-cta::after {
    display: none;
}

/* burger ----------------------------------------------------------------- */

.jt-burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
}

.jt-burger span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text);
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.jt-bar.is-open .jt-burger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.jt-bar.is-open .jt-burger span:nth-child(2) {
    opacity: 0;
}

.jt-bar.is-open .jt-burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .jt-burger {
        display: none;
    }
}

/* mobile panel ----------------------------------------------------------- */

.jt-menu {
    position: fixed;
    top: var(--bar);
    left: 0;
    right: 0;
    z-index: 79;
    display: none;
    max-height: calc(100vh - var(--bar));
    overflow-y: auto;
    padding: 4px var(--pad-x) 26px;
    background: #121215;
    border-bottom: 1px solid var(--line);
}

.jt-bar.is-open + .jt-menu,
.jt-menu.is-open {
    display: block;
}

.jt-menu a.jt-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    transition: color .25s var(--ease);
}

.jt-menu a.jt-menu-link:hover,
.jt-menu a.jt-menu-link:focus-visible {
    color: var(--accent);
}

.jt-menu-foot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.jt-menu-foot .jt-lang {
    border-left: 0;
    padding-left: 0;
    min-height: 48px;
}

.jt-menu-foot .jt-cta {
    height: 48px;
    flex: 1 1 auto;
}

@media (min-width: 1024px) {
    .jt-menu {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   Fixed left rail
   -------------------------------------------------------------------------- */

.jt-rail {
    display: none;
}

@media (min-width: 1024px) {
    .jt-rail {
        position: fixed;
        top: 0;
        left: 0;
        width: var(--rail);
        height: 100vh;
        z-index: 81;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        background: var(--bg);
        border-right: 1px solid var(--line);
    }

    .jt-rail::before {
        content: "";
        position: absolute;
        top: var(--bar);
        right: -1px;
        width: 1px;
        height: 88px;
        background: var(--accent);
    }
}

.jt-rail a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 34px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
    transition: color .25s var(--ease);
}

.jt-rail a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 14px;
    height: 1px;
    margin-left: -7px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .3s var(--ease);
}

.jt-rail a:hover,
.jt-rail a:focus-visible,
.jt-rail a.is-active {
    color: var(--accent);
}

.jt-rail a.is-active::after {
    transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.jt-home {
    display: block;
}

.jt-wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
}

.jt-sec {
    padding-block: var(--sec-y);
    scroll-margin-top: calc(var(--bar) + 24px);
}

.jt-sec + .jt-sec {
    border-top: 1px solid var(--line);
}

.jt-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(40px, 5vw, 64px);
}

.jt-head .num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
}

.jt-head .label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   01 — Business adviser (hero)
   -------------------------------------------------------------------------- */

.jt-hero {
    padding-top: calc(var(--bar) + clamp(44px, 7vw, 96px));
    padding-bottom: clamp(72px, 8vw, 116px);
}

.jt-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(40px, 6vw, 64px);
    align-items: start;
}

@media (min-width: 1024px) {
    .jt-hero-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: clamp(32px, 4vw, 64px);
        row-gap: 0;
    }

    .jt-hero-copy {
        grid-column: 1 / span 7;
    }

    .jt-hero-media {
        grid-column: 8 / span 5;
    }
}

.jt-h1 {
    font-size: clamp(2.6rem, 4.55vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.04;
    text-wrap: balance;
}

.jt-script {
    font-family: "Mrs Saint Delafield", cursive;
    font-weight: 400;
    font-size: 1.28em;
    line-height: .95;
    letter-spacing: .005em;
    color: var(--tint);
    display: inline-block;
    position: relative;
    top: .02em;
    padding-right: .02em;
    white-space: nowrap;
}

.jt-lead {
    margin-top: clamp(22px, 2.6vw, 30px);
    max-width: 52ch;
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
}

.jt-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: clamp(20px, 2.4vw, 26px);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--accent);
}

.jt-line::before {
    content: "";
    flex: none;
    width: 28px;
    height: 1px;
    background: var(--accent);
}

.jt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: clamp(28px, 3.4vw, 38px);
}

.jt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 clamp(22px, 2.6vw, 30px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background-color .28s var(--ease), color .28s var(--ease),
        border-color .28s var(--ease);
}

.jt-btn--accent {
    background: var(--accent);
    color: #08080a;
}

.jt-btn--accent:hover,
.jt-btn--accent:focus-visible {
    background: var(--tint);
    color: #08080a;
}

.jt-btn--ghost {
    border-color: var(--line-strong);
    color: var(--text);
}

.jt-btn--ghost:hover,
.jt-btn--ghost:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

.jt-phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin-top: clamp(18px, 2vw, 26px);
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--muted);
}

.jt-phones a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted);
    border-bottom: 1px solid transparent;
    transition: color .25s var(--ease), border-color .25s var(--ease);
}

.jt-phones a:hover,
.jt-phones a:focus-visible {
    color: var(--text);
    border-bottom-color: var(--accent);
}

.jt-phones .sep {
    color: rgba(245, 242, 239, .3);
}

/* portrait --------------------------------------------------------------- */

.jt-hero-media {
    max-width: 460px;
    width: 100%;
}

@media (min-width: 1024px) {
    .jt-hero-media {
        max-width: none;
    }
}

.jt-portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    isolation: isolate;
}

.jt-portrait::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: -1px;
    left: -1px;
    width: 52px;
    height: 2px;
    background: var(--accent);
}

.jt-portrait::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    opacity: .13;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 140px 140px;
    mix-blend-mode: soft-light;
}

.jt-portrait img {
    position: absolute;
    left: 0;
    top: -6%;
    width: 100%;
    height: 112%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 18%;
    filter: saturate(1.03) contrast(1.03);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

/* stat strip ------------------------------------------------------------- */

.jt-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(48px, 6vw, 80px);
    border-top: 1px solid var(--line);
}

.jt-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(24px, 2.8vw, 34px) 0;
}

.jt-stat:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: clamp(16px, 3vw, 28px);
}

.jt-stat:nth-child(n+3) {
    border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
    .jt-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .jt-stat:nth-child(n+2) {
        border-left: 1px solid var(--line);
        padding-left: clamp(16px, 2.4vw, 30px);
    }

    .jt-stat:nth-child(n+3) {
        border-top: 0;
    }
}

.jt-stat-num {
    display: inline-block;
    min-width: 2ch;
    font-size: clamp(2.1rem, 3.4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.jt-stat-lbl {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.55;
    text-transform: uppercase;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   02 — Ventures
   -------------------------------------------------------------------------- */

.jt-sec-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: clamp(36px, 4.4vw, 56px);
}

@media (min-width: 1024px) {
    .jt-sec-intro {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        column-gap: clamp(32px, 4vw, 64px);
        align-items: end;
    }
}

.jt-h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.06;
    text-wrap: balance;
}

.jt-sub {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
}

.jt-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

@media (min-width: 1024px) {
    .jt-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.jt-card {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 2.6vw, 34px);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color .3s var(--ease), background-color .3s var(--ease);
}

.jt-card:hover {
    border-color: var(--ln-accent);
    background: #141418;
}

.jt-card-logo {
    display: flex;
    align-items: center;
    min-height: 30px;
    padding-bottom: clamp(20px, 2.2vw, 26px);
    margin-bottom: clamp(20px, 2.2vw, 26px);
    border-bottom: 1px solid var(--line);
    transition: border-color .3s var(--ease);
}

.jt-card:hover .jt-card-logo {
    border-bottom-color: rgba(255, 74, 28, .32);
}

.jt-card-logo img {
    height: 30px;
    width: auto;
    max-width: 100%;
    aspect-ratio: 4 / 1;
    object-fit: contain;
    object-position: left center;
    opacity: .85;
    transition: opacity .3s var(--ease);
}

.jt-card:hover .jt-card-logo img {
    opacity: 1;
}

.jt-card-role {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}

.jt-card-name {
    margin: 12px 0;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
}

.jt-card-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}

/* tablet: cards become horizontal rows ----------------------------------- */

@media (min-width: 768px) and (max-width: 1023px) {
    .jt-card {
        display: grid;
        grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
        grid-template-rows: auto auto 1fr;
        column-gap: clamp(24px, 3.4vw, 44px);
        align-items: start;
    }

    .jt-card-logo {
        grid-row: 1 / span 3;
        align-self: center;
        min-height: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        padding-right: 22px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }

    .jt-card-role,
    .jt-card-name,
    .jt-card-text {
        grid-column: 2;
    }

    .jt-card-name {
        margin: 8px 0 10px;
    }
}

/* --------------------------------------------------------------------------
   03 — The journey (timeline)
   -------------------------------------------------------------------------- */

.jt-timeline {
    --tl-pad: clamp(24px, 3vw, 44px);
    --tl-row: clamp(28px, 3.4vw, 44px);
    position: relative;
    padding-left: var(--tl-pad);
}

.jt-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
}

.jt-tl-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-block: var(--tl-row);
}

.jt-tl-item:first-child {
    padding-top: 0;
}

.jt-tl-item::before {
    content: "";
    position: absolute;
    left: calc(var(--tl-pad) * -1);
    top: calc(var(--tl-row) + 5px);
    width: 7px;
    height: 7px;
    background: var(--accent);
    transform: translateX(-3px);
}

.jt-tl-item:first-child::before {
    top: 5px;
}

@media (min-width: 768px) {
    .jt-tl-item {
        grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
        column-gap: clamp(24px, 3vw, 56px);
        row-gap: 0;
    }

    .jt-tl-item:first-child {
        padding-top: 0;
    }
}

@media (min-width: 1024px) {
    .jt-tl-item {
        grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    }
}

.jt-tl-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.jt-tl-company {
    font-size: clamp(1.3rem, 1.9vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.2;
}

.jt-tl-role {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}

.jt-tl-text {
    margin-top: 12px;
    max-width: 62ch;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   04 — What I write (articles)
   -------------------------------------------------------------------------- */

.jt-posts {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

@media (min-width: 768px) {
    .jt-posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .jt-posts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.jt-post {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color .3s var(--ease), background-color .3s var(--ease);
}

.jt-post:hover,
.jt-post:focus-visible {
    border-color: var(--ln-accent);
    background: #141418;
}

.jt-post-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0d0d10;
    border-bottom: 1px solid var(--line);
    transition: border-color .3s var(--ease);
}

.jt-post:hover .jt-post-media {
    border-bottom-color: rgba(255, 74, 28, .32);
}

.jt-post-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: saturate(1.03) contrast(1.03);
    transition: transform .5s var(--ease);
}

.jt-post:hover .jt-post-media img {
    transform: scale(1.03);
}

.jt-post-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: clamp(20px, 2.2vw, 28px);
}

.jt-post-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.jt-post-title {
    margin: 12px 0 10px;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.32;
}

.jt-post-excerpt {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.jt-post-more {
    margin-top: auto;
    padding-top: 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    transition: color .25s var(--ease);
}

.jt-post:hover .jt-post-more {
    color: var(--tint);
}

.jt-posts-foot {
    margin-top: clamp(32px, 4vw, 48px);
}

/* --------------------------------------------------------------------------
   05 — Workshops & events (list rows)
   -------------------------------------------------------------------------- */

.jt-events {
    --ev-pad: clamp(10px, 1.4vw, 18px);
    margin-inline: calc(var(--ev-pad) * -1);
    border-bottom: 1px solid var(--line);
}

.jt-event {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: clamp(24px, 2.8vw, 32px) var(--ev-pad);
    border-top: 1px solid var(--line);
    transition: background-color .28s var(--ease);
}

@media (min-width: 768px) {
    .jt-event {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
        column-gap: clamp(24px, 3vw, 56px);
        row-gap: 0;
    }
}

@media (min-width: 1024px) {
    .jt-event {
        grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    }
}

.jt-event:hover {
    background: var(--surface);
}

.jt-event-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    transition: color .25s var(--ease);
}

.jt-event:hover .jt-event-date {
    color: var(--accent);
}

.jt-event-title {
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -.012em;
    line-height: 1.28;
}

.jt-event-venue {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--accent);
}

.jt-event-text {
    margin-top: 10px;
    max-width: 62ch;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   06 — Contact
   -------------------------------------------------------------------------- */

.jt-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
}

@media (min-width: 1024px) {
    .jt-contact-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        column-gap: clamp(40px, 5vw, 80px);
        align-items: center;
    }
}

.jt-c-media {
    width: 100%;
    max-width: 420px;
}

@media (min-width: 1024px) {
    .jt-c-media {
        max-width: none;
    }
}

.jt-c-portrait {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    isolation: isolate;
}

.jt-c-portrait::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: -1px;
    left: -1px;
    width: 52px;
    height: 2px;
    background: var(--accent);
}

.jt-c-portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 22%;
    filter: saturate(1.03) contrast(1.03);
}

.jt-c-name {
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.1;
}

.jt-c-role {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}

.jt-c-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: clamp(18px, 2.4vw, 28px);
}

.jt-c-phones a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-size: clamp(1.75rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    transition: color .25s var(--ease);
}

.jt-c-phones a:hover,
.jt-c-phones a:focus-visible {
    color: var(--accent);
}

.jt-c-wa {
    margin-top: clamp(22px, 2.8vw, 30px);
}

/* form ------------------------------------------------------------------- */

.jt-form-wrap {
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: clamp(32px, 4vw, 48px);
    border-top: 1px solid var(--line);
}

.jt-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 2vw, 22px);
    max-width: 760px;
}

.jt-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.jt-field-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.jt-field input,
.jt-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    font: inherit;
    font-size: 16px;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .25s var(--ease);
}

.jt-field textarea {
    min-height: 148px;
    line-height: 1.6;
    resize: vertical;
}

.jt-field input:hover,
.jt-field textarea:hover {
    border-color: rgba(245, 242, 239, .28);
}

.jt-field input:focus,
.jt-field textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.jt-field input:focus-visible,
.jt-field textarea:focus-visible {
    outline: 2px solid rgba(255, 74, 28, .45);
    outline-offset: 1px;
}

.jt-field input::placeholder,
.jt-field textarea::placeholder {
    color: rgba(154, 147, 140, .7);
}

.jt-field input:-webkit-autofill,
.jt-field input:-webkit-autofill:hover,
.jt-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    transition: background-color 9999s ease-out 0s;
}

@media (min-width: 768px) {
    .jt-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jt-field--full {
        grid-column: 1 / -1;
    }
}

.jt-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 6px;
}

.jt-form-note {
    font-size: 12px;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.jt-foot {
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding-block: 48px;
}

.jt-foot-in {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

@media (min-width: 768px) {
    .jt-foot-in {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
    }
}

.jt-foot-name {
    font-family: "Mrs Saint Delafield", cursive;
    font-size: 1.9rem;
    line-height: 1;
    letter-spacing: .01em;
    color: var(--tint);
}

.jt-foot-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--muted);
}

@media (min-width: 768px) {
    .jt-foot-meta {
        align-items: flex-end;
        text-align: right;
    }
}

.jt-foot-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 14px;
    font-size: 12px;
    color: var(--muted);
}

.jt-foot-line a {
    display: inline-flex;
    align-items: center;
    padding-block: 12px;
    margin-block: -12px;
    color: var(--muted);
    transition: color .25s var(--ease);
}

.jt-foot-line a:hover,
.jt-foot-line a:focus-visible {
    color: var(--text);
}

.jt-foot-note {
    font-size: 12px;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.has-js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    transition-delay: var(--d, 0s);
}

.has-js .reveal.is-in {
    opacity: 1;
    transform: none;
}

/* reveal cards keep their own hover transitions (stagger only on opacity/transform) */
.has-js .jt-card.reveal,
.has-js .jt-post.reveal,
.has-js .jt-event.reveal {
    transition: opacity .5s var(--ease) var(--d, 0s),
        transform .5s var(--ease) var(--d, 0s),
        border-color .3s var(--ease),
        background-color .3s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .has-js .reveal,
    .has-js .reveal.is-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .has-js .jt-card.reveal,
    .has-js .jt-post.reveal,
    .has-js .jt-event.reveal {
        transition: none;
    }

    .jt-bar,
    .jt-nav a::after,
    .jt-btn,
    .jt-card,
    .jt-card-logo,
    .jt-card-logo img,
    .jt-post,
    .jt-post-media,
    .jt-post-media img,
    .jt-post-more,
    .jt-event,
    .jt-event-date,
    .jt-c-phones a,
    .jt-foot-line a,
    .jt-field input,
    .jt-field textarea,
    .jt-burger span,
    .jt-rail a::after,
    .jt-cta,
    .jt-brand,
    .jt-phones a {
        transition: none;
    }

    .jt-portrait img {
        transform: none !important;
    }
}
