/* A focused, image-led market-entry page within Klik's red, white and charcoal identity. */
.market-page { --market-space: clamp(64px,7vw,112px); }
.market-page .section { padding-block: var(--market-space); }
.market-page h2 span { color: var(--red); }
.market-page figure { margin: 0; }
.market-page .actions { gap: 20px 28px; }
.market-page .text-link { font-size: .9375rem; line-height: 1.6; }
.market-page :is(h1,h2,h3,h4,p) { overflow-wrap: break-word; }

/* The opening combines clear positioning with a full-height, real business photograph. */
.market-hero { background: var(--ink); color: #fff; }
.market-hero .market-hero-grid { width: min(1600px,100%); display: grid; grid-template-columns: 1.03fr 1fr; }
.market-hero-copy { padding: 64px clamp(32px,4vw,76px) 42px; min-width: 0; }
.market-hero .eyebrow { color: #fff; font-size: .8125rem; letter-spacing: .08em; max-width: 40ch; margin-bottom: 32px; }
.market-hero .eyebrow:before { flex: 0 0 7px; }
.market-hero h1 { font-size: clamp(3.1rem,5.3vw,5.6rem); line-height: 1.055; letter-spacing: -.065em; font-weight: 500; }
.market-hero h1 span { color: var(--red-on-dark); }
.market-hero-lead { color: #dee0e6; font-size: 1.0625rem; line-height: 1.8; max-width: 45ch; margin-top: 28px; }
.market-hero .actions { margin-top: 32px; align-items: center; }
.market-hero .text-link { color: #fff; }
.market-hero :focus-visible { outline-color: #fff; }
.market-hero-note { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid #ffffff24; }
.market-hero-note>span { color: var(--red-on-dark); font-size: .8125rem; font-weight: 750; letter-spacing: .04em; flex-shrink: 0; }
.market-hero-note p { margin: 0; color: #c7cad2; font-size: .875rem; }
.market-hero-image { position: relative; min-width: 0; min-height: 650px; overflow: hidden; }
.market-hero-image:before { content: ''; position: absolute; top: 0; left: 0; z-index: 1; width: 88px; height: 7px; background: var(--brand-red); }
.market-hero-image>img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 55% center; }
.market-hero-image:after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,#101117df); pointer-events: none; }
.market-hero-image figcaption { position: absolute; bottom: 36px; left: 34px; right: 30px; z-index: 1; font-size: 1rem; line-height: 1.6; font-weight: 600; padding-left: 18px; border-left: 3px solid var(--brand-red); }
.market-hero-image figcaption span { display: block; color: #e1e3e8; font-size: .8125rem; font-weight: 400; margin-top: 5px; }

/* Dates provide concrete proof without turning the introduction into a wall of text. */
.market-foundation-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(44px,7vw,112px); align-items: center; }
.market-foundation h2 { font-size: clamp(2.1rem,3.2vw,3.2rem); max-width: 22ch; line-height: 1.18; }
.market-foundation-copy { max-width: 64ch; margin-top: 27px; color: var(--muted); font-size: 1rem; line-height: 1.9; }
.market-history-facts { border-top: 1px solid var(--line); }
.market-history-facts>div { display: grid; grid-template-columns: max-content minmax(0,1fr); align-items: center; column-gap: clamp(32px,3.2vw,54px); min-width: 0; padding: 25px 0; border-bottom: 1px solid var(--line); }
.market-fact-year { font-size: clamp(3rem,4.8vw,4.7rem); line-height: 1; letter-spacing: -.065em; color: var(--red); font-variant-numeric: tabular-nums; }
.market-history-facts p { color: var(--muted); font-size: .9375rem; line-height: 1.75; }

/* Three service stages: a clear interaction and an editorial photograph for each. */
.market-expertise { background: var(--ink); color: #fff; }
.market-expertise-heading>.eyebrow { color: var(--red-on-dark); margin-bottom: 24px; }
.market-expertise .section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 55px; align-items: start; margin-bottom: 48px; }
.market-expertise .section-head h2 { font-size: clamp(2.8rem,4.8vw,4.8rem); }
.market-expertise .section-head h2 span, .market-expertise .eyebrow { color: var(--red-on-dark); }
.market-expertise .section-head .lead { color: #d0d3db; max-width: 58ch; font-size: 1rem; line-height: 1.85; margin: 0; }
.market-stage-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-bottom: 30px; border-bottom: 1px solid #ffffff36; }
.market-stage-tabs[hidden] { display: none; }
.market-stage-tabs button { position: relative; display: flex; align-items: center; gap: 18px; padding: 23px 22px 25px; background: transparent; color: #fff; border: 0; text-align: left; cursor: pointer; min-width: 0; }
.market-stage-tabs button:after { content: ''; position: absolute; height: 3px; bottom: -1px; left: 0; right: 0; background: var(--brand-red); transform: scaleX(0); transform-origin: left; }
.market-stage-tabs button[aria-selected=true] { background: #ffffff09; }
.market-stage-tabs button[aria-selected=true]:after { transform: scaleX(1); }
.market-stage-tabs button:hover { background: #ffffff0d; }
.market-stage-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.stage-tab-number { align-self: flex-start; margin-top: 5px; font-size: .875rem; color: #b4b8c3; font-variant-numeric: tabular-nums; }
.market-stage-tabs button[aria-selected=true] .stage-tab-number { color: var(--red-on-dark); }
.market-stage-tabs strong { display: block; font-size: 1.5rem; line-height: 1.3; font-weight: 550; }
.market-stage-tabs small { display: block; margin-top: 9px; font-size: .875rem; line-height: 1.6; color: #c6c9d2; }
.stage-tab-arrow { font-size: 1.5rem; margin-left: auto; color: var(--red-on-dark); }
.market-stage-panel { display: grid; grid-template-columns: 1.25fr 1fr; color: var(--ink); background: #fff; min-height: 540px; margin-bottom: 28px; }
.market-stage-panel:last-child { margin-bottom: 0; }
.market-stage-panel[hidden] { display: none; }
.market-stage-panel:focus-visible { outline: 2px solid var(--red-on-dark); outline-offset: 6px; }
.market-stage-copy { padding: clamp(30px,3.5vw,54px); min-width: 0; }
.market-stage-label { font-size: .8125rem; color: var(--red); letter-spacing: .08em; font-weight: 750; text-transform: uppercase; margin-bottom: 22px; }
.market-stage-copy>h3 { font-size: clamp(1.9rem,2.5vw,2.6rem); line-height: 1.18; max-width: 20ch; font-weight: 500; }
.market-service-list { display: grid; gap: 24px; margin-top: 30px; }
.market-service-list article { padding-top: 21px; border-top: 1px solid var(--line); }
.market-service-list h4 { font-size: 1.0625rem; line-height: 1.5; font-weight: 750; }
.market-service-list p { font-size: 1rem; line-height: 1.85; margin-top: 10px; color: var(--muted); }
.market-stage-photo { position: relative; min-height: 430px; overflow: hidden; }
.market-stage-photo>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#market-stage-explore .market-stage-photo>img { object-position: 50% center; }
#market-stage-enter .market-stage-photo>img { object-position: 53% center; }
#market-stage-develop .market-stage-photo>img { object-position: 53% center; }
.market-stage-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent,#171820ed); padding: 76px 25px 26px; font-size: .9375rem; line-height: 1.6; color: #fff; font-weight: 600; }
.market-stage-photo figcaption span { display: block; font-size: .8125rem; font-weight: 400; margin-top: 5px; color: #d4d7e0; }

/* Real cooperation imagery anchors the local relationship story. */
.market-network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,96px); align-items: center; }
.market-network-image { position: relative; padding: 0 0 32px 18px; }
.market-network-image:before { content: ''; position: absolute; inset: 30px 28px 0 0; border: 1px solid var(--line); pointer-events: none; }
.market-network-image>img { position: relative; width: 100%; aspect-ratio: 1.12; object-fit: cover; object-position: 48% center; }
.market-network-image figcaption { position: relative; margin-top: -1px; background: #fff; border-left: 3px solid var(--brand-red); padding: 17px 20px; font-size: .8125rem; color: var(--muted); }
.market-network-copy h2 { font-size: clamp(2.2rem,3.4vw,3.45rem); line-height: 1.17; }
.market-network-copy>p:not(.eyebrow) { font-size: 1rem; line-height: 1.9; color: var(--muted); margin-top: 27px; }
.market-network-copy .actions { display: grid; justify-items: start; gap: 18px; margin-top: 28px; }

/* A featured case and four supporting projects give evidence a stronger hierarchy. */
.market-projects { background: var(--soft); }
.market-projects .section-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 50px; }
.market-projects .section-head .lead { font-size: 1rem; line-height: 1.85; }
.market-projects-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; }
.market-project { padding: 32px 30px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.market-project-top { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 35px; }
.market-project-top>span { color: var(--red); font-size: .875rem; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.market-project-top>p { color: var(--red); font-size: .8125rem; line-height: 1.6; font-weight: 650; }
.market-project h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
.market-project-body { font-size: 1rem; line-height: 1.85; color: var(--muted); margin-top: 20px; }
.market-project-featured { grid-row: span 2; display: flex; flex-direction: column; position: relative; background: var(--ink); color: #fff; border-color: var(--ink); padding: 38px 34px; }
.market-project-featured:before { content: ''; position: absolute; top: -1px; left: 34px; height: 4px; width: 72px; background: var(--brand-red); }
.market-project-featured .market-project-top { margin-bottom: 90px; }
.market-project-featured .market-project-top>* { color: var(--red-on-dark); }
.market-project-featured h3 { font-size: clamp(1.7rem,2.2vw,2.3rem); font-weight: 500; }
.market-project-featured .market-project-body { color: #d4d7e0; margin-top: auto; padding-top: 34px; }

.market-next { background: var(--red); color: #fff; }
.market-next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,7vw,110px); align-items: center; }
.market-next .eyebrow { color: #fff; }
.market-next .eyebrow:before { background: #fff; }
.market-next h2 { font-size: clamp(3rem,5.5vw,5.5rem); line-height: 1.08; }
.market-next h2 span { color: #fff; }
.market-next-lead { font-size: 1.5rem; line-height: 1.45; margin-bottom: 23px; }
.market-next p { max-width: 58ch; }
.market-next .actions { margin-top: 32px; }
.market-next .button.light { color: var(--red); }
.market-next .market-adviser-note { margin-top: 27px; font-size: .8125rem; line-height: 1.7; color: #fff; }
.market-next :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion:no-preference) {
  .market-stage-tabs button:after { transition: transform 220ms ease-out; }
  .market-stage-tabs button { transition: background 160ms; }
  .market-stage-tabs .stage-tab-arrow { transition: transform 220ms ease-out; }
  .market-stage-tabs button[aria-selected=true] .stage-tab-arrow { transform: rotate(45deg); }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .market-project { transition: border-color 220ms, transform 220ms; }
  .market-project:not(.market-project-featured):hover { border-color: #d51c2470; transform: translateY(-3px); }
}
@media (max-width:1200px) {
  .market-hero-copy { padding: 50px 34px 36px; }
  .market-hero h1 { font-size: 4.5rem; }
  .market-hero .actions { align-items: flex-start; gap: 20px; }
  .market-foundation-grid { grid-template-columns: 1.05fr 1fr; gap: 45px; }
  .market-history-facts>div { column-gap: 32px; }
  .market-stage-tabs button { gap: 14px; padding-inline: 15px; }
  .market-stage-tabs strong { font-size: 1.35rem; }
  .market-projects-grid { grid-template-columns: 1fr 1fr; }
  .market-project-featured { grid-column: span 2; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 45px; }
  .market-project-featured .market-project-top { grid-column: 1/-1; margin-bottom: 28px; }
  .market-project-featured .market-project-body { margin: 0; padding: 0; }
}
@media (max-width:1024px) {
  .market-hero h1 { font-size: clamp(3.1rem,6.1vw,4.2rem); }
  .market-hero-image { min-height: 630px; }
  .market-hero-note { align-items: flex-start; }
  .market-foundation-grid { grid-template-columns: 1fr; gap: 40px; }
  .market-history-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border: 0; }
  .market-history-facts>div { grid-template-columns: 1fr; gap: 24px; align-content: start; border-top: 1px solid var(--line); }
  .market-expertise .section-head { gap: 35px; }
  .market-stage-panel { grid-template-columns: 1.35fr 1fr; }
  .market-stage-copy { padding: 32px; }
  .market-network-grid { gap: 40px; }
  .market-next-grid { gap: 40px; }
}
@media (max-width:760px) {
  .market-hero .market-hero-grid { grid-template-columns: 1fr; }
  .market-hero-copy { padding: 43px 28px 32px; }
  .market-hero .eyebrow { font-size: .8125rem; margin-bottom: 26px; }
  .market-hero h1 { font-size: clamp(2.8rem,10vw,4.5rem); letter-spacing: -.055em; }
  .market-hero-lead { font-size: 1rem; }
  .market-hero-note { margin-top: 28px; }
  .market-hero-image { min-height: 0; aspect-ratio: 1.65; }
  .market-hero-image>img { object-position: 50% 42%; }
  .market-hero-image figcaption { bottom: 22px; left: 25px; right: 20px; font-size: .9375rem; }
  .market-hero-image figcaption span { font-size: .75rem; }
  .market-foundation h2 { font-size: clamp(2rem,7vw,2.8rem); }
  .market-history-facts { gap: 25px; }
  .market-history-facts>div { grid-template-columns: 1fr; gap: 24px; align-content: start; padding-block: 21px; }
  .market-fact-year { font-size: 3.4rem; }
  .market-history-facts p { font-size: .875rem; }
  .market-expertise .section-head { display: block; margin-bottom: 34px; }
  .market-expertise .section-head h2 { font-size: clamp(2.6rem,9vw,3.7rem); }
  .market-expertise .section-head .lead { margin-top: 26px; }
  .market-stage-tabs { margin-bottom: 22px; }
  .market-stage-tabs button { padding: 15px 9px 21px; display: block; }
  .stage-tab-number { display: block; margin: 0 0 10px; font-size: .8125rem; }
  .market-stage-tabs strong { font-size: 1.0625rem; line-height: 1.5; }
  .market-stage-tabs small { display: none; }
  .stage-tab-arrow { display: none; }
  .market-stage-panel { grid-template-columns: 1fr; min-height: 0; }
  .market-stage-copy { padding: 29px 25px 35px; }
  .market-stage-copy>h3 { font-size: 1.9rem; }
  .market-service-list { margin-top: 24px; }
  .market-stage-photo { min-height: 0; aspect-ratio: 1.5; }
  .market-stage-photo>img { object-position: 50% 45%; }
  .market-stage-photo figcaption { font-size: .875rem; padding: 60px 22px 20px; }
  .market-network-grid { grid-template-columns: 1fr; gap: 38px; }
  .market-network-image { padding: 0 0 20px 12px; }
  .market-network-image>img { aspect-ratio: 1.4; }
  .market-network-image figcaption { font-size: .8125rem; padding: 13px 15px; }
  .market-network-copy h2 { font-size: 2.35rem; }
  .market-projects .section-head { display: block; }
  .market-projects .section-head .lead { margin-top: 25px; }
  .market-projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .market-project, .market-project-featured { grid-column: auto; display: block; padding: 28px 25px; }
  .market-project-top { margin-bottom: 25px; }
  .market-project-featured .market-project-body { margin-top: 25px; }
  .market-project-featured:before { left: 25px; }
  .market-project-featured h3 { font-size: 1.9rem; }
  .market-next-grid { grid-template-columns: 1fr; gap: 35px; }
  .market-next h2 { font-size: clamp(2.8rem,10vw,4rem); }
  .market-next-lead { font-size: 1.3rem; }
}
@media (max-width:540px) {
  .market-history-facts { grid-template-columns: 1fr; gap: 0; }
  .market-history-facts>div+div { border-top: 0; }
}
@media (max-width:380px) {
  .market-hero-copy { padding-inline: 22px; }
  .market-hero h1 { font-size: 2.55rem; }
  .market-hero-image { aspect-ratio: 1.35; }
  .market-stage-copy { padding-inline: 21px; }
  .market-stage-tabs strong { font-size: 1rem; }
}
@media print {
  .market-stage-tabs { display: none!important; }
  .market-stage-panel[hidden] { display: grid!important; }
  .market-stage-panel { break-inside: avoid; }
  .market-hero, .market-expertise, .market-next, .market-project-featured { background: #fff!important; color: #171820!important; }
  .market-page p, .market-page .eyebrow, .market-project-featured .market-project-body { color: #171820!important; }
}

/* Albania in focus — bright editorial photography with deliberate, optional motion. */
/* A broad business perspective, with photography rather than sector categories. */
.market-opportunities{position:relative;display:flex;flex-direction:column;min-width:0;background:#fff;color:var(--ink);overflow:hidden;isolation:isolate}
.opportunity-stage{position:relative;flex:1;min-height:590px;overflow:hidden;background:#263742}
.opportunity-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity 950ms ease,visibility 950ms;overflow:hidden}
.opportunity-slide.is-active{opacity:1;visibility:visible;z-index:1}
.opportunity-slide>img{width:100%;height:100%;object-fit:cover;object-position:var(--image-position,center)}
.opportunity-slide:after{content:'';position:absolute;inset:28% 0 0;background:linear-gradient(transparent,rgba(10,15,22,.28) 26%,rgba(10,15,22,.9) 84%);pointer-events:none}
.opportunity-story{position:absolute;left:34px;right:34px;bottom:108px;z-index:2;color:#fff;pointer-events:none}
.opportunity-story h2{font-size:clamp(2rem,3.4vw,3.45rem);line-height:1.08;letter-spacing:-.045em;font-weight:500;max-width:18ch}
.opportunity-story p{margin-top:18px;max-width:43ch;font-size:1rem;line-height:1.6;color:#f1f2f5}
.opportunity-slide figcaption.opportunity-location{position:absolute;left:34px;right:34px;bottom:58px;z-index:2;color:#fff;font-size:.875rem;line-height:1.45;padding-top:14px;border-top:1px solid #ffffff40}
.opportunity-credit{position:absolute;left:34px;right:34px;bottom:22px;z-index:3;color:#e4e5e9;font-size:.75rem;line-height:1.45}
.opportunity-credit a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.opportunity-heading{position:absolute;left:28px;top:26px;z-index:3;display:flex;align-items:center;gap:9px;padding:11px 13px;background:#ffffffed;color:#202126;font-size:.8125rem;font-weight:750;letter-spacing:.035em;max-width:calc(100% - 108px)}
.opportunity-heading>span{width:7px;height:7px;background:var(--brand-red);flex:none}
.opportunity-pause{position:absolute;top:26px;right:22px;z-index:3;width:44px;height:44px;border:1px solid #ffffffb3;border-radius:50%;background:#12171c9e;color:#fff;display:grid;place-items:center;cursor:pointer}
.opportunity-pause[hidden],.opportunity-tabs[hidden]{display:none}
.opportunity-pause svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
.opportunity-pause .play-symbol{display:none;fill:currentColor;stroke-width:0}
.opportunity-pause[aria-pressed=true] .pause-symbol{display:none}
.opportunity-pause[aria-pressed=true] .play-symbol{display:block}
.opportunity-navigation{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:74px;padding:10px 28px;background:#fff}
.opportunity-navigation>span{font-size:.875rem;line-height:1.4;color:#4e5059}
.opportunity-tabs{display:flex;flex-shrink:0;align-items:center;gap:10px}
.opportunity-tab{position:relative;border:0;background:transparent;padding:8px 6px 12px;min-width:44px;min-height:44px;color:#676973;font:inherit;font-size:.875rem;font-variant-numeric:tabular-nums;cursor:pointer;overflow:hidden}
.opportunity-tab:after,.opportunity-tab i{content:'';position:absolute;inset:auto 6px 3px;height:2px;background:#dadbe0;transform-origin:left}
.opportunity-tab i{z-index:1;transform:scaleX(0);background:var(--brand-red)}
.opportunity-tab[aria-pressed=true]{color:var(--red);font-weight:750}
.opportunity-tab[aria-pressed=true] i{transform:scaleX(1)}
.market-opportunities.is-playing .opportunity-tab[aria-pressed=true] i{animation:opportunity-progress 7s linear both}
.market-opportunities.is-suspended .opportunity-tab i{animation-play-state:paused!important}
.market-opportunities :focus-visible{outline:3px solid var(--brand-red);outline-offset:-3px}
.opportunity-pause:focus-visible,.opportunity-credit a:focus-visible{outline-color:#fff;outline-offset:3px}
@keyframes opportunity-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(max-width:1100px) and (min-width:761px){.opportunity-story{left:26px;right:26px}.opportunity-story h2{font-size:2.6rem}.opportunity-heading{left:22px;font-size:.75rem}.opportunity-slide figcaption.opportunity-location,.opportunity-credit{left:26px;right:26px}.opportunity-navigation{padding-inline:22px}}
@media(max-width:760px){.opportunity-stage{min-height:490px;aspect-ratio:1.25}.opportunity-story{left:25px;right:25px;bottom:110px}.opportunity-story h2{font-size:clamp(2.25rem,7vw,3.2rem)}.opportunity-story p{font-size:1rem;max-width:37ch}.opportunity-heading{left:22px;top:22px}.opportunity-pause{top:22px}.opportunity-slide figcaption.opportunity-location,.opportunity-credit{left:25px;right:25px}.opportunity-navigation{padding-inline:22px;min-height:68px}.market-hero-note{margin-bottom:4px}}
@media(max-width:390px){.opportunity-heading{font-size:.75rem;padding:10px}.opportunity-stage{min-height:500px}.opportunity-navigation{padding-inline:18px;gap:12px}.opportunity-navigation>span{max-width:14ch}.opportunity-tabs{gap:5px}}
@media(prefers-reduced-motion:reduce){.opportunity-slide{transition:none}.opportunity-tab i{animation:none!important}}
@media print{.market-opportunities{display:none}}
