/* ============================================================
   Homepage enhancements
   Brand palette: #E06C2A / #E06C2A (orange), #1a2332 (navy)
   ============================================================ */

/* ---------- Rendering performance: skip off-screen work ----------
   These below-the-fold sections are static content with no scripts that
   need to measure them on load, so the browser can safely defer their
   style/layout/paint work until the user scrolls near them. This reduces
   main-thread work on initial page load (helps PageSpeed / INP).
   contain-intrinsic-size is a placeholder height used only while the
   section is unrendered; it's replaced by the real layout once visible,
   so it doesn't need to be exact — just roughly right to avoid scrollbar
   jumpiness. */
.purpose-section,
#news,
.operate-feature,
.sustain-section {
  content-visibility: auto;
}
.purpose-section  { contain-intrinsic-size: 1px 620px; }
#news             { contain-intrinsic-size: 1px 700px; }
.operate-feature  { contain-intrinsic-size: 1px 540px; }
.sustain-section  { contain-intrinsic-size: 1px 640px; }

/* ---------- Hero overlay (positioning statement) ---------- */
#Home { position: relative; }

/* Hero slideshow — pure-CSS Ken Burns (GPU-composited, no JS).
   5 slides crossfade + slow zoom on a 30s loop (6s each). */
.hero-section {
  position: relative;
  height: 100vh;
  max-height: 900px;
  min-height: 560px;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #1a2332;
}
.hero-slides picture {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity, transform;
  animation: 30s ease-in-out infinite;
}
.hero-slides picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slides picture:nth-child(1) { animation-name: heroKB_rd; animation-delay: -3s; }
.hero-slides picture:nth-child(2) { animation-name: heroKB_ld; animation-delay: 3s; }
.hero-slides picture:nth-child(3) { animation-name: heroKB_ru; animation-delay: 9s; }
.hero-slides picture:nth-child(4) { animation-name: heroKB_lu; animation-delay: 15s; }
.hero-slides picture:nth-child(5) { animation-name: heroKB_up; animation-delay: 21s; }

/* Pan + zoom (Ken Burns) — one direction per slide.
   Each slide appears at natural size (scale 1.0) then zooms + pans in. */
@keyframes heroKB_rd {  /* right-down */
  0%   { opacity: 0; transform: scale(1.0) translate(0, 0); }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; transform: scale(1.30) translate(4%, 3%); }
  100% { opacity: 0; transform: scale(1.0) translate(0, 0); }
}
@keyframes heroKB_ld {  /* left-down */
  0%   { opacity: 0; transform: scale(1.0) translate(0, 0); }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; transform: scale(1.30) translate(-4%, 3%); }
  100% { opacity: 0; transform: scale(1.0) translate(0, 0); }
}
@keyframes heroKB_ru {  /* right-up */
  0%   { opacity: 0; transform: scale(1.0) translate(0, 0); }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; transform: scale(1.30) translate(4%, -3%); }
  100% { opacity: 0; transform: scale(1.0) translate(0, 0); }
}
@keyframes heroKB_lu {  /* left-up */
  0%   { opacity: 0; transform: scale(1.0) translate(0, 0); }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; transform: scale(1.30) translate(-4%, -3%); }
  100% { opacity: 0; transform: scale(1.0) translate(0, 0); }
}
@keyframes heroKB_up {  /* straight up */
  0%   { opacity: 0; transform: scale(1.0) translate(0, 0); }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; transform: scale(1.30) translate(0, -4%); }
  100% { opacity: 0; transform: scale(1.0) translate(0, 0); }
}

/* Respect users who prefer reduced motion: show first image, no animation */
@media (prefers-reduced-motion: reduce) {
  .hero-slides picture { animation: none; }
  .hero-slides picture:nth-child(1) { opacity: 1; }
}

/* Dark gradient scrim so caption text stays legible over any photo */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  background:
      linear-gradient(to top,
          rgba(26, 35, 50, 0.88) 0%,
          rgba(26, 35, 50, 0.6) 45%,
          rgba(26, 35, 50, 0.15) 70%,
          rgba(26, 35, 50, 0) 100%),
      linear-gradient(90deg, rgba(26, 35, 50, 0.55) 0%, rgba(26, 35, 50, 0) 60%);
}

/* Top band so the transparent white nav stays legible on bright photos */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  z-index: 96;
  background: linear-gradient(to bottom, rgba(26, 35, 50, 0.55), rgba(26, 35, 50, 0));
  pointer-events: none;
}

/* P1-04: tablets/phones put the eyebrow higher in the frame, where the 45% stop is too thin
   (768 slide 4 measured 4.42). Lightest step that passes: .6 -> .7. 1024+ unchanged. */
@media (max-width: 991px) {
  .hero-scrim {
    background:
        linear-gradient(to top,
            rgba(26, 35, 50, 0.88) 0%,
            rgba(26, 35, 50, 0.7) 45%,
            rgba(26, 35, 50, 0.15) 70%,
            rgba(26, 35, 50, 0) 100%),
        linear-gradient(90deg, rgba(26, 35, 50, 0.55) 0%, rgba(26, 35, 50, 0) 60%);
  }
}

.hero-overlay {
  position: absolute;
  z-index: 100;
  left: 0;
  right: 0;
  bottom: 8%;
  pointer-events: none;
}

.hero-overlay .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-eyebrow {
  display: inline-block;
  color: #f8a056;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-statement {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.55);
}

/* font-weight:700 是必须的,不能省略——theme/css/style.css 里有一条全局规则
   ".display-5, .display-7, span, p, a { font-weight: 400; }" 把所有裸 <span>
   都重置成了 400。.accent 就是个 <span>,如果这里只写 color 不写 font-weight,
   继承链会被那条全局 span 规则打断,导致强调色的文字比标题其余部分明显更细
   (粗细不一致,不是设计意图)。 */
.hero-statement .accent { color: #f8a056; font-weight: 700; }
/* Bare wrapper spans in the headline (e.g. the nowrap spans around "· Upstream") would otherwise get the global span weight of 400. Lower specificity than .accent, so the accent keeps its colour. */
.hero-statement span { font-weight: inherit; }

.hero-tagline {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  max-width: 640px;
  line-height: 1.6;
  margin: 0 0 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 13px 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-cta svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.hero-cta:hover { background: #C95F1F; border-color: #C95F1F; color: #fff; }
.hero-cta:hover svg { transform: translateX(4px); }

@media (max-width: 768px) {
  .hero-overlay { bottom: 10%; }
}
/* P3-01: the hero text starts at the same x as the nav logo and the other pages (20px on phones, 40px from 768px). */
@media (max-width: 767px) {
  .hero-overlay .hero-inner { padding: 0 20px; }
}

/* ---------- At-a-glance stats band ---------- */
.stats-band {
  background: #1a2332;
  padding: 50px 20px;
}

.stats-inner {
  max-width: 1200px;
  padding: 0 40px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 8px 16px;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 56px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: #E06C2A;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stat-item:nth-child(3)::before,
  .stat-item:nth-child(odd)::before { display: none; }
}

/* ---------- News section spacing ---------- */
/* News section: consistent padding, dark heading handled inline.
   Brand pale-blue gradient (site-wide light section colour) so it reads as a
   distinct band between the white .purpose-section above and below. */
#news { padding: 80px 0; background: linear-gradient(135deg, #eef3f8 0%, #f6f9fc 100%); }

/* ============================================================
   Purpose band  (replaces old "Who we are" section)
   ============================================================ */
.purpose-section {
  background: #ffffff;
  padding: 100px 20px;
}

.purpose-inner {
  max-width: 1200px;
  padding: 0 40px;
  margin: 0 auto;
  text-align: left;
}

.purpose-inner .eyebrow {
  display: block;
  color: #C95F1F;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.purpose-statement {
  color: #1a2332;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 0 60px;
}

/* 同上 hero-statement .accent 的注释:必须显式声明 font-weight,否则会被
   theme/css/style.css 里的全局 span 规则(font-weight:400)打断继承,导致
   强调色文字比标题其余部分更细。 */
.purpose-statement .accent { color: #C95F1F; font-weight: 600; }

@media (max-width: 768px) {
  .purpose-section { padding: 60px 16px; }
}

/* ============================================================
   "Where we operate" feature  (replaces old What we do video)
   ============================================================ */
.operate-feature {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.operate-feature img.operate-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.operate-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
      rgba(16, 24, 38, 0.88) 0%,
      rgba(16, 24, 38, 0.70) 42%,
      rgba(16, 24, 38, 0.25) 100%);
}

.operate-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}

.operate-inner { max-width: 560px; }

.operate-content .eyebrow {
  display: block;
  color: #f8a056;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.operate-content h2 {
  color: #fff;
  font-size: var(--h2-section);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
}

.operate-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 32px;
}

.operate-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 34px;
}

.operate-regions span,
.operate-regions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid rgba(224, 108, 42, 0.55);
  background: rgba(224, 108, 42, 0.12);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.operate-regions a:hover {
  background: rgba(224, 108, 42, 0.25);
  border-color: #E06C2A;
  color: #fff;
}

.operate-regions a:visited {
  color: #fff;
}

.operate-regions span::before,
.operate-regions a::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #E06C2A;
  border-radius: 0;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .operate-content { padding: 60px 22px; }
  .operate-feature::after {
    background: linear-gradient(90deg, rgba(16,24,38,0.9) 0%, rgba(16,24,38,0.75) 100%);
  }
}

/* ============================================================
   Sustainability feature  (redesigned homepage section)
   ============================================================ */
.sustain-section {
  background: #ffffff;
  padding: 100px 20px;
}

.sustain-inner {
  max-width: 1200px;
  padding: 0 40px;
  margin: 0 auto;
}

.sustain-head {
  max-width: 760px;
  margin: 0 0 56px;
  text-align: left;
}

.sustain-head .eyebrow {
  display: block;
  color: #C95F1F;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sustain-head h2 {
  color: #1a2332;
  font-size: var(--h2-section);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
}

.sustain-head p {
  color: #5a6b7b;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.sustain-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* Left visual */
.sustain-visual {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}

.sustain-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sustain-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 24, 38, 0.55), rgba(16, 24, 38, 0) 55%);
}

.sustain-visual .visual-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px 32px;
}

.sustain-visual .visual-caption h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.sustain-visual .visual-caption p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0;
}

/* Right: pillar list */
.sustain-pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sustain-pillar {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #e6e9ed;
  border-left: 3px solid #C95F1F;
  padding: 26px 28px;
  text-decoration: none;
  transition: border-color 0.2s ease;
  flex: 1;
}

.sustain-pillar:hover {
  border-color: #1a2332;
  border-left-color: #C95F1F;
}

.sustain-pillar .p-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: #C95F1F;
}

.sustain-pillar .p-icon svg { width: 100%; height: 100%; }

.sustain-pillar .p-text { flex: 1; }

.sustain-pillar h3 {
  color: #1a2332;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sustain-pillar h3 .arrow {
  color: #C95F1F;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sustain-pillar:hover h3 .arrow { opacity: 1; transform: translateX(0); }

.sustain-pillar p {
  color: #5a6b7b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .sustain-grid { grid-template-columns: 1fr; }
  .sustain-visual { min-height: 320px; }
}

@media (max-width: 768px) {
  .sustain-section { padding: 60px 16px; }
}

/* ============================================================
   "Our group" — subsidiary companies (Tethys Oil)
   Sits between the dark .operate-feature band and .sustain-section,
   so it uses the brand light-blue gradient rather than sustain's
   neutral grey — keeps the two light sections visually distinct.
   ============================================================ */
.group-section {
  background: linear-gradient(135deg, #eef3f8 0%, #f6f9fc 100%);
  padding: 100px 20px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 620px;
}

@media (max-width: 768px) {
  .group-section { padding: 60px 16px; }
}

/* Unified mobile section rhythm — match other content bands (60px). */
@media (max-width: 768px) {
  #news { padding: 60px 0; }
}

/* ============================================================
   Home (EN and Chinese): simplified "Our purpose" (P2) and "News" (N2).
   Scoped to modifier classes (#purpose.purpose--simple, #news.news--v2,
   .purpose-btn, .news-v2-*). Both index.html and Chinese/index.html use them.
   ============================================================ */

/* ---------- Our purpose: eyebrow + one sentence + solid button (no values grid) ---------- */
body #purpose.purpose--simple { padding-top: 48px; padding-bottom: 48px; contain-intrinsic-size: 1px 305px; }
body #purpose.purpose--simple .purpose-statement { max-width: 1120px; margin: 0 0 24px; }
body #purpose a.purpose-btn,
body #purpose a.purpose-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  background: #C95F1F;
  color: #ffffff;
  transition: background-color 0.2s ease;
}
body #purpose a.purpose-btn span { font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.2px; color: inherit; text-decoration: none; }
body #purpose a.purpose-btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s ease; }
body #purpose a.purpose-btn:hover,
body #purpose a.purpose-btn:focus-visible { background: #C95F1F; color: #ffffff; }
body #purpose a.purpose-btn:hover svg { transform: translateX(4px); }
body #purpose a.purpose-btn:focus-visible { outline: 2px solid #C95F1F !important; outline-offset: 3px; }
@media (max-width: 768px) {
  body #purpose.purpose--simple { padding-top: 40px; padding-bottom: 40px; contain-intrinsic-size: 1px 361px; }
}

/* ---------- News: full-width featured story + three-column ledger ---------- */
body #news.news--v2 { padding: 56px 0; contain-intrinsic-size: 1px 822px; }
body #news.news--v2 .energy-news-container-main { padding: 48px 0; }
body #news.news--v2 .news-section-header { padding-bottom: 20px; margin-bottom: 32px; }
body #news.news--v2 a,
body #news.news--v2 a:visited { text-decoration: none; }
body #news.news--v2 time { font-variant-numeric: tabular-nums; }
body #news.news--v2 a.news-v2-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; color: #1a2332; }
.news-v2-photo { aspect-ratio: 16 / 10; overflow: hidden; background: #cdd5de; border-radius: 0; }
.news-v2-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.news-v2-tag { display: block; margin: 0 0 14px; color: #C95F1F; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; line-height: 1.2; }
.news-v2-title { margin: 0 0 16px; color: #1a2332; font-size: clamp(1.6rem, 2.7vw, 2.3rem); font-weight: 700; line-height: 1.15; }
.news-v2-excerpt { margin: 0 0 16px; color: #4a5568; font-size: 1rem; line-height: 1.6; }
.news-v2-meta { display: block; margin-bottom: 20px; color: #4a5568; font-size: 0.85rem; letter-spacing: 0.3px; }
.news-v2-dot { margin: 0 6px; }
.news-v2-more { display: inline-flex; align-items: center; gap: 8px; color: #C95F1F; font-size: 0.95rem; font-weight: 600; }
.news-v2-more span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.news-v2-more svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.news-v2-feature:hover .news-v2-more,
.news-v2-feature:focus-visible .news-v2-more { color: #C95F1F; }
.news-v2-feature:hover .news-v2-more svg,
.news-v2-feature:focus-visible .news-v2-more svg { transform: translateX(4px); }
.news-v2-feature:hover .news-v2-title,
.news-v2-feature:focus-visible .news-v2-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.news-v2-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: 40px; border-top: 1px solid #c9d4e0; }
body #news.news--v2 a.news-v2-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 28px; border-left: 1px solid #c9d4e0; color: #1a2332; }
body #news.news--v2 a.news-v2-item:first-child { padding-left: 0; border-left: 0; }
body #news.news--v2 a.news-v2-item:last-child { padding-right: 0; }
.news-v2-date { color: #4a5568; font-size: 0.85rem; line-height: 1.4; }
.news-v2-item-title { margin: 0; color: #1a2332; font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.news-v2-item:hover .news-v2-item-title,
.news-v2-item:focus-visible .news-v2-item-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 900px) {
  body #news.news--v2 a.news-v2-feature { grid-template-columns: 1fr; gap: 22px; }
  .news-v2-cols { grid-auto-flow: row; margin-top: 28px; }
  body #news.news--v2 a.news-v2-item,
  body #news.news--v2 a.news-v2-item:first-child,
  body #news.news--v2 a.news-v2-item:last-child { padding: 16px 0; border-left: 0; border-top: 1px solid #c9d4e0; }
  body #news.news--v2 a.news-v2-item:first-child { border-top: 0; }
}
@media (max-width: 768px) {
  body #news.news--v2 { padding: 40px 0; contain-intrinsic-size: 1px 1201px; }
  body #news.news--v2 .energy-news-container-main { padding: 50px 0; }
}

/* ============================================================
   "Our group" thin strip — EN and Chinese home (index.html, Chinese/index.html).
   <section id="group" class="group-section group-section--strip">
   Everything here is scoped under the modifier class.
   Position: below Sustainability_new (white), right above the dark footer, so the divider is a top border.
   Light band (inherits .group-section gradient #eef3f8 -> #f6f9fc), square corners,
   desktop ~120px: eyebrow | logo + one sentence | two text links.
   Font props are declared explicitly: theme/css/style.css has global span/p/a rules.
   ============================================================ */
body #group.group-section--strip {
  padding: 38px 0;
  border-top: 1px solid #c9d4e0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 125px;
}

body #group.group-section--strip .group-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

body #group.group-section--strip .group-strip-eyebrow {
  flex: none;
  display: block;
  color: #C95F1F;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}

body #group.group-section--strip .group-strip-main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 40px;
  border-left: 1px solid #c9d4e0;
}

body #group.group-section--strip .group-strip-logo {
  flex: none;
  width: auto;
  height: 40px;
  margin: 0;
}

body #group.group-section--strip .group-strip-text {
  color: #1a2332;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

body #group.group-section--strip .group-strip-links {
  flex: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

body #group.group-section--strip .group-strip-link,
body #group.group-section--strip .group-strip-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #1a2332;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

body #group.group-section--strip .group-strip-link span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: inherit;
}

body #group.group-section--strip .group-strip-link svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.3s ease;
}

body #group.group-section--strip .group-strip-link:hover span,
body #group.group-section--strip .group-strip-link:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body #group.group-section--strip .group-strip-link:hover svg,
body #group.group-section--strip .group-strip-link:focus-visible svg { transform: translateX(4px); }

body #group.group-section--strip .group-strip-link[target="_blank"]:hover svg,
body #group.group-section--strip .group-strip-link[target="_blank"]:focus-visible svg { transform: translate(2px, -2px); }

body #group.group-section--strip .group-strip-link:focus-visible {
  outline: 2px solid #C95F1F;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  body #group.group-section--strip { contain-intrinsic-size: 1px 149px; }
}

/* 901-1100px: tighter gaps so the longer "Our subsidiary" label does not add a text line */
@media (min-width: 901px) and (max-width: 1100px) {
  body #group.group-section--strip .group-strip-inner { gap: 24px; }
  body #group.group-section--strip .group-strip-main { padding-left: 24px; gap: 14px; }
}

@media (max-width: 900px) {
  body #group.group-section--strip {
    padding: 30px 0;
    contain-intrinsic-size: 1px 197px;
  }
  body #group.group-section--strip .group-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  body #group.group-section--strip .group-strip-main {
    flex: none;
    width: 100%;
    padding-left: 0;
    border-left: 0;
    align-items: flex-start;
  }
  body #group.group-section--strip .group-strip-links { gap: 28px; }
}

@media (max-width: 768px) {
  body #group.group-section--strip .group-strip-inner { padding: 0 22px; }
}

@media (max-width: 560px) {
  body #group.group-section--strip { contain-intrinsic-size: 1px 261px; }
  body #group.group-section--strip .group-strip-text { font-size: 0.95rem; }
  body #group.group-section--strip .group-strip-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
}
/* ============================================================
   Home "Our purpose": people row (V1) under the statement + button.
   Three photos with the original titles and one verbatim sentence each.
   New classes only (.purpose-people, .purpose-person-*), scoped to #purpose.purpose--simple.
   Photos: assets/images/purpose-{safety,innovation,responsibility}.webp, 16:10, square corners, no shadow.
   Font props are declared explicitly: theme/css/style.css has global h3/p/span rules.
   This block comes after the P2 rule above, so the padding and contain-intrinsic-size below replace P2's values.
   ============================================================ */
body #purpose.purpose--simple { padding-top: 72px; padding-bottom: 72px; contain-intrinsic-size: 1px 760px; }
body #purpose.purpose--simple .purpose-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 60px 0 0; padding: 0; }
body #purpose.purpose--simple .purpose-person { margin: 0; padding: 16px 0 0; border-top: 3px solid #C95F1F; border-radius: 0; box-shadow: none; }
body #purpose.purpose--simple .purpose-person-photo { display: block; aspect-ratio: 16 / 10; margin: 0 0 18px; overflow: hidden; background: #e8ecf0; border-radius: 0; box-shadow: none; }
body #purpose.purpose--simple .purpose-person-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
body #purpose.purpose--simple .purpose-person-title { margin: 0 0 8px; color: #1a2332; font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: normal; text-transform: none; }
body #purpose.purpose--simple .purpose-person-text { margin: 0; color: #5a6b7b; font-size: 0.95rem; font-weight: 400; line-height: 1.7; }
@media (max-width: 768px) {
  body #purpose.purpose--simple { padding-top: 48px; padding-bottom: 48px; contain-intrinsic-size: 1px 960px; }
  body #purpose.purpose--simple .purpose-people { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 56px; }
  body #purpose.purpose--simple .purpose-person { display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 16px; row-gap: 12px; align-items: center; padding-top: 14px; }
  body #purpose.purpose--simple .purpose-person-photo { grid-column: 1; grid-row: 1; margin: 0; }
  body #purpose.purpose--simple .purpose-person-title { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.15rem; overflow-wrap: anywhere; }
  body #purpose.purpose--simple .purpose-person-text { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Stats band: orange numbers on dark use the same light orange as the hero (#f8a056) ---------- */
.stats-band--accent .stat-number { color: #f8a056; }

/* ---------- Chinese home (html[lang="zh-CN"]): line breaks and eyebrow letter-spacing ---------- */
/* Without balance the last line of each people text is one character plus the full stop. */
html[lang="zh-CN"] body #purpose.purpose--simple .purpose-person-text { text-wrap: balance; }
/* Chinese hero statement: 1.1 is too tight for Chinese glyphs once it wraps on phones. */
html[lang="zh-CN"] .hero-statement { line-height: 1.2; }
/* Keeps "自2006年起在阿曼开展业务。" together instead of breaking after 自. */
html[lang="zh-CN"] body #group.group-section--strip .group-strip-keep { white-space: nowrap; }
/* Latin eyebrows use 2-2.5px tracking; Chinese characters read better at .1em (as .eyebrow in my.css). */
html[lang="zh-CN"] .news-v2-tag,
html[lang="zh-CN"] body #group.group-section--strip .group-strip-eyebrow { letter-spacing: 0.1em; }

/* ---------- Phones (P2-09): stats label 12.8px -> 14px, news tag 12px -> 13px ---------- */
@media (max-width: 767px) { .stat-label { font-size: 0.875rem; } .news-v2-tag { font-size: 0.8125rem; } }

/* P2-33: Chinese stats label 14px on every width (12.8px -> 14px). */
html[lang="zh-CN"] .stat-label { font-size: 0.875rem; }
