/* Shared project and service content, using the existing homepage palette. */
.story--project { background: #263836; min-height: 460px; }
.story--project:nth-child(2) { background: #36392e; }
.story--project:nth-child(3) { background: #343f49; }
.story--project::after { background: repeating-linear-gradient(135deg, transparent 0 64px, rgba(247,245,238,.07) 65px 66px); }
.story--project .story-copy { position: relative; z-index: 2; }
.story--project .story-copy h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1.12; }
.story--project .story-copy p { min-height: 90px; }
.story--project .story-copy strong { line-height: 1.6; }
.project-link { display: block; margin-top: 24px; color: #f7f5ee; font-size: 13px; text-underline-offset: 5px; }
.service-detail-link { padding: 0 var(--v3-gutter) 42px; text-align: right; background: var(--paper); }
.service-detail-link a, .guide-entry a { color: var(--ink); text-underline-offset: 5px; }
.guide-entry { background: var(--paper-warm); color: var(--ink); }
.guide-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--line); padding-top: 26px; margin: 30px 0; }
.guide-links > a { text-decoration: none; padding: 12px 0; }
.guide-links h3 { font: 400 30px/1.2 var(--v3-display); margin-bottom: 12px; }
.guide-links p { color: var(--ink-soft); line-height: 1.65; font-size: 14px; }
.guide-links a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.content-page { background: #f7f5ee; color: #171814; }
.content-page a { color: #71422c; text-underline-offset: 4px; }
.content-page a:focus-visible { outline: 2px solid #71422c; outline-offset: 5px; }
.content-page .skip-content { position: fixed; z-index: 200; left: 12px; top: -80px; background: #fff; padding: 12px; }
.content-page .skip-content:focus { top: 12px; }
.content-page .top-nav { background: #f7f5ee; border-bottom: 1px solid #d3cfc6; gap: 20px; }
.content-page .top-nav a { color: #171814; }
.content-page .content-nav { display: flex; gap: 22px; align-items: center; }
.content-page .article-hero { background: #efebe4; padding: 134px 24px 64px; }
.content-page .article-wrap { max-width: 920px; }
.content-page .article-hero h1 { color: #171814; font: 400 clamp(42px, 5.3vw, 72px)/1.04 'Instrument Serif', Georgia, serif; max-width: 850px; margin: 24px 0; }
.content-page .content-kicker { color: #71422c; font-size: 11px; letter-spacing: .13em; font-weight: 700; }
.content-page .content-intro { color: #4e514a; font-size: 18px; line-height: 1.65; max-width: 780px; }
.content-page .article-meta { color: #55594f; margin-top: 24px; }
.content-page .article-body { background: #f7f5ee; color: #171814; padding: 52px 24px 72px; }
.content-page .article-body h2 { color: #171814; font: 400 36px/1.15 'Instrument Serif', Georgia, serif; margin-top: 42px; }
.content-page .article-body p, .content-page .article-body li { color: #42463e; line-height: 1.8; }
.content-page .project-record { padding: 14px 0 46px; border-bottom: 1px solid #d3cfc6; scroll-margin-top: 100px; }
.content-page .project-stage { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .09em; color: #245544; background: #e2ece5; padding: 8px 12px; }
.content-page .project-stage--ongoing { color: #71422c; background: #f0e3d4; }
.content-page .project-record h2 { margin-top: 18px; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 25px 0; }
.fact-grid > div { padding: 22px 0; border-top: 1px solid #b7b9ad; }
.fact-grid strong { display: block; font-size: clamp(21px, 3vw, 30px); color: #171814; }
.fact-grid span { font-size: 13px; color: #55594f; }
.table-scroll { overflow-x: auto; }
.content-page table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.content-page caption { text-align: left; color: #55594f; font-size: 13px; padding-bottom: 10px; }
.content-page th, .content-page td { padding: 14px 12px; border-bottom: 1px solid #d3cfc6; text-align: left; background: transparent; color: #171814; }
.content-page thead { background: #efebe4; }
.content-page tbody th { font-weight: 400; }
.content-page .service-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.content-page .service-steps section { padding: 18px 0 10px; border-top: 1px solid #d3cfc6; background: transparent; }
.content-page .service-steps h3 { color: #171814; margin: 0 0 12px; font-size: 19px; }
.content-page .cta-box { background: #263836; color: #f7f5ee; border: 0; border-radius: 0; padding: 32px; margin-top: 48px; }
.content-page .cta-box h2 { color: #f7f5ee; margin-top: 0; }
.content-page .cta-box p { color: #d4ddd7; }
.content-page .cta-box a { background: #f7f5ee; color: #171814; border-radius: 0; }
.content-page footer { background: #efebe4; border-top: 1px solid #d3cfc6; padding: 38px 24px; }
.content-page footer p { color: #4e514a; line-height: 1.8; }
.guide-page .breadcrumb { line-height: 1.8; }
.guide-page .article-body h2[id] { scroll-margin-top: 105px; }
.guide-page .article-body h3 { color: #263836; margin-top: 28px; }
.guide-summary { border-left: 3px solid #71422c; padding: 4px 0 4px 24px; margin-bottom: 38px; }
.guide-summary p { margin-bottom: 0; }
.guide-page .toc { border-radius: 0; background: #efebe4; border-color: #d3cfc6; }
.guide-page .toc a { color: #263836; }
.guide-page .table-scroll:focus-visible { outline: 2px solid #71422c; outline-offset: 5px; }
.guide-page table { min-width: 540px; font-size: 15px; }
.guide-page table.cost-example { min-width: 0; }
.guide-page .cost-example td { white-space: nowrap; }
.guide-page th, .guide-page td { vertical-align: top; line-height: 1.6; }
.guide-page .table-scroll + p { margin-top: 18px; }
.guide-faq { border-top: 1px solid #d3cfc6; padding: 20px 0; }
.guide-faq summary { color: #263836; cursor: pointer; font-weight: 600; line-height: 1.6; }
.guide-faq summary:focus-visible { outline: 2px solid #71422c; outline-offset: 5px; }
.guide-faq p { padding-top: 14px; margin-bottom: 0; }
.delivery-stages li { padding-bottom: 10px; }
@media (max-width: 720px) {
  .guide-links, .content-page .service-steps { grid-template-columns: 1fr; }
  .guide-links { gap: 12px; }
  .story--project .story-copy p { min-height: 0; }
  .content-page .top-nav { padding: 14px 18px; height: auto; min-height: 66px; flex-wrap: wrap; gap: 8px 18px; }
  .content-page .content-nav { gap: 14px; flex-wrap: wrap; }
  .content-page .content-nav a { font-size: 12px; }
  .content-page .article-hero { padding-top: 130px; }
  .content-page .content-intro { font-size: 16px; }
  .fact-grid { grid-template-columns: 1fr; gap: 0; }
  .content-page .cta-box { padding: 25px; }
}

/* v3.3 (2026-10-09): carriers actually used + secondary services */
.logo-wall--four { grid-template-columns: repeat(4, 1fr); }
.logo-wall--four .logo-cell { aspect-ratio: 1.6; }
.logo-wall--four .logo-cell:nth-child(1) { --cell-image: url('../assets/images/editorial-gdansk-cosco-v3-640.webp'); --brand-wash: rgba(0,65,101,.34); }
.logo-wall--four .logo-cell:nth-child(2) { --cell-image: url('../assets/images/editorial-air-cargo-v3.1-640.webp'); --brand-wash: rgba(187,145,0,.28); }
.logo-wall--four .logo-cell:nth-child(3) { --cell-image: url('../assets/images/editorial-malaszewicze-rail-v3-640.webp'); --brand-wash: rgba(129,28,34,.31); }
.logo-wall--four .logo-cell:nth-child(4) { --cell-image: url('../assets/images/editorial-parcel-express-v3.1-640.webp'); --brand-wash: rgba(83,55,34,.34); }
.brand-mark--route { font-size: clamp(22px, 2.2vw, 34px); letter-spacing: .04em; }
.brand-mark--route small { display: block; margin-top: 6px; font-size: 9px; letter-spacing: .16em; }
@media (max-width: 720px) { .logo-wall--four { grid-template-columns: repeat(2, 1fr); } }

.service-addons { margin: 28px var(--v3-gutter, 48px) 0; padding-top: 22px; border-top: 1px solid var(--line, #d9d4c8); }
.service-addons .section-label { margin: 0 0 14px; }
.service-addons ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 28px; margin: 0; padding: 0; list-style: none; }
.service-addons li { display: grid; gap: 6px; }
.service-addons strong { color: var(--ink, #1a1614); font-size: 14px; font-weight: 600; }
.service-addons span { color: var(--ink-soft, #736f6a); font-size: 12.5px; line-height: 1.55; }
@media (max-width: 900px) { .service-addons ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .service-addons ul { grid-template-columns: 1fr; } }

/* v3.3 (2026-10-09): larger header + brand logo, wider side margins */
:root { --v3-gutter: clamp(24px, 6vw, 120px); }
.announcement { height: 40px; font-size: 11px; }
.site-nav { top: 40px; height: 82px; }
.site-nav.is-scrolled { height: 70px; }
.site-nav .nav-logo { font-size: 27px; }
.site-nav .nav-logo span { margin-left: 12px; font-size: 16px; }
.site-nav .nav-links a { font-size: 11.5px; }
.site-nav .lang-btn { font-size: 11px; }
.nav-cta { font-size: 11px; }
.hero { padding-top: clamp(196px, 16vw, 250px); }
html { scroll-padding-top: 130px; }
.verticals .visual-grid { margin: 0 var(--v3-gutter); }
@media (max-width: 560px) {
  :root { --v3-gutter: 22px; }
  .site-nav { height: 70px; }
  .site-nav .nav-logo { font-size: 22px; }
  .site-nav .nav-logo span { font-size: 13px; }
  .hero { padding-top: 150px; }
  html { scroll-padding-top: 110px; }
}
@media (min-width: 897px) {
  .hero h1 { font-size: clamp(64px, 7vw, 116px); }
  .hero h1 span { white-space: nowrap; }
}

/* v3.3 (2026-10-09): hero diagram — abstract Europe/Asia plates + one rail route Qingdao → Warsaw */
.hero-art--diagram { background: rgba(250,248,242,.72); }
.route-diagram--abstract .diagram-text text { fill: var(--ink); font: 700 10.5px var(--v3-body); letter-spacing: .14em; }
.route-diagram--abstract .diagram-text .dt-num { fill: var(--route-rust); }
.route-diagram--abstract .diagram-text .dt-sub { fill: var(--ink-soft); font-size: 8px; }

/* header text closer to logo size */
.announcement { font-size: 12px; }
.site-nav .nav-links a { font-size: 14px; letter-spacing: .1em; }
.site-nav .lang-btn { font-size: 13px; }
.nav-cta { font-size: 13px; }
@media (max-width: 560px) { .hero-art--diagram .route-diagram--abstract { transform: none; height: auto; min-height: 0; } .hero-art { height: auto; min-height: 0; } }
.motion-ready .route-diagram--abstract .route-flow:nth-child(4) { animation-delay: .7s; }
.motion-ready .route-diagram--abstract .route-flow--three { animation-delay: .9s; }
.route-diagram--abstract .route-flow--outline { stroke-width: 1.25; }

/* Chinese typography: no 1–2 character orphan lines, balanced headings */
html[lang="zh-CN"] h1 span, html[lang="zh-CN"] h1 em, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3,
html[lang="zh-CN"] summary, html[lang="zh-CN"] .stat-label { text-wrap: balance; line-break: strict; }
html[lang="zh-CN"] p, html[lang="zh-CN"] li, html[lang="zh-CN"] .faq-a, html[lang="zh-CN"] figcaption,
html[lang="zh-CN"] .service-addons span { text-wrap: pretty; line-break: strict; }
@media (max-width: 560px) {
  html[lang="zh-CN"] .hero h1 { font-size: clamp(44px, 12.5vw, 60px); }
}

/* Chinese headings: wrap only at the U+200B phrase marks placed in the copy */
html[lang="zh-CN"] h1 span, html[lang="zh-CN"] h1 em, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 {
  word-break: keep-all; text-wrap: balance;
}
html[lang="zh-CN"] .hero h1 { font-size: clamp(52px, 5.4vw, 86px); line-height: 1.04; }
@media (max-width: 560px) {
  html[lang="zh-CN"] .hero h1 { font-size: clamp(38px, 11vw, 50px); }
  html[lang="zh-CN"] h2 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.12; }
}
html[lang="zh-CN"] .control-copy h2, html[lang="zh-CN"] .about-copy h2 { font-size: clamp(34px, 3.3vw, 52px); line-height: 1.12; }
html[lang="zh-CN"] .manifesto p { word-break: keep-all; text-wrap: balance; }
