/* Homepage enhancements — supplements business-lines / style sheets */
.wwt-home .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wwt-home .wwt-business-panel a:hover,
.wwt-home .wwt-business-panel a:focus-visible {
  background: rgba(217, 119, 6, 0.1);
}

.wwt-home .wwt-footer-languages a {
  opacity: 0.75;
}

.wwt-home .wwt-footer-languages a.active,
.wwt-home .wwt-footer-languages a:hover {
  opacity: 1;
  color: var(--accent, #d97706);
}

html[dir="rtl"] .wwt-home .wwt-hero-grid,
html[dir="rtl"] .wwt-home .wwt-intro-grid,
html[dir="rtl"] .wwt-home .wwt-model-grid {
  direction: rtl;
}

html[lang="zh"] .wwt-home,
html[lang="ja"] .wwt-home {
  line-height: 1.8;
}

/* ==========================================================================
   PRIMARY NAV (homepage only — business-line pages use the group-header)
   ========================================================================== */
.wwt-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.wwt-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem 0;
}

.wwt-nav .wwt-brand span:not(.wwt-brand-mark) {
  color: var(--primary-navy, #0a1628);
  font-size: 1.05rem;
}

.wwt-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.wwt-nav-links > a {
  color: var(--text-main, #1e293b);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.wwt-nav-links > a:hover {
  color: var(--accent, #d97706);
}

.wwt-business-menu {
  position: relative;
}

.wwt-business-menu > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  color: var(--text-main, #1e293b);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.wwt-business-menu > summary::-webkit-details-marker {
  display: none;
}

.wwt-business-menu > summary::after {
  content: "▾";
  font-size: 0.7em;
  opacity: 0.7;
}

.wwt-business-menu[open] > summary {
  color: var(--accent, #d97706);
}

.wwt-business-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 300px;
  background: var(--bg-card, #fff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  padding: 0.6rem;
  display: grid;
  gap: 0.2rem;
  z-index: 1000;
}

.wwt-business-panel a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main, #1e293b);
  font-size: 0.9rem;
  font-weight: 600;
}

.wwt-menu-index {
  font-weight: 800;
  color: var(--accent, #d97706);
  font-size: 0.8rem;
  min-width: 1.5rem;
}

.wwt-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wwt-language select {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  background: #fff;
  color: var(--text-main, #1e293b);
  max-width: 9rem;
}

.wwt-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.wwt-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary-navy, #0a1628);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.wwt-mobile-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.wwt-mobile-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.wwt-mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .wwt-nav-links {
    display: none;
  }

  .wwt-mobile-toggle {
    display: flex;
  }

  .wwt-nav-inner {
    gap: 0.5rem;
  }

  .wwt-language select {
    max-width: 5.5rem;
    padding: 0.35rem 0.45rem;
    font-size: 0.8rem;
  }

  .wwt-brand {
    font-size: 1.25rem;
    gap: 0.4rem;
  }

  .wwt-home .wwt-mobile-menu {
    display: grid;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--primary-navy, #0f172a);
    color: #fff;
  }

  .wwt-home .wwt-mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }

  .wwt-home .wwt-mobile-menu[hidden] {
    display: none;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.wwt-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #132239 100%);
  color: #fff;
  padding: 6rem 0 5rem;
}

.wwt-hero-orbit {
  position: absolute;
  top: -220px;
  right: -220px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.28), transparent 70%);
  pointer-events: none;
}

.wwt-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.wwt-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.wwt-hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
}

.wwt-hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.wwt-hero-side {
  display: grid;
  gap: 1.5rem;
}

.wwt-hero-image {
  margin: 0;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg, 32px);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wwt-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wwt-hero-note {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md, 16px);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.wwt-hero-note span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent, #d97706);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.wwt-hero-note strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.wwt-hero-note p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .wwt-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.wwt-intro {
  padding: 4rem 0;
  background: #fff;
}

.wwt-intro-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 3rem;
  align-items: center;
}

.wwt-intro-image {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg, 32px);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(10, 22, 40, 0.18);
}

.wwt-intro-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wwt-intro-grid > div .wwt-kicker {
  margin-bottom: 0.75rem;
}

.wwt-intro-grid h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--primary-navy, #0a1628);
  margin-bottom: 0.75rem;
}

.wwt-intro-grid p {
  color: #555;
  line-height: 1.75;
}

@media (max-width: 800px) {
  .wwt-intro-grid {
    grid-template-columns: 1fr;
  }

  .wwt-intro-image {
    aspect-ratio: 16 / 10;
    max-width: 420px;
  }
}

/* ==========================================================================
   SECTOR / BUSINESS-LINE CARDS
   ========================================================================== */
.wwt-sectors {
  padding: 5rem 0;
  background: var(--bg-warm, #fdfcfb);
}

.wwt-sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.wwt-sector-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #101d33 0%, #0a1628 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 3px solid var(--sector-color, var(--accent, #d97706));
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  padding: 1.5rem;
  color: #fff;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.wwt-sector-card:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.wwt-sector-card.is-expanded {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.wwt-sector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wwt-sector-top > span:first-child {
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.wwt-sector-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sector-color, var(--accent, #d97706));
}

.wwt-sector-image {
  display: block;
  margin: 1.25rem 0 1rem;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.45s ease;
}

.wwt-sector-card:hover .wwt-sector-image {
  transform: scale(1.025);
}

.wwt-home .wwt-sector-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wwt-sector-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: #fff;
}

.wwt-sector-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
}

.wwt-sector-card > a:last-child {
  color: var(--sector-color, var(--accent, #d97706));
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: auto;
}

.wwt-sector-card > a:last-child:hover {
  text-decoration: underline;
}

/* Sector Card Accordion Expand */
.wwt-sector-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-navy, #0f172a);
  transition: background 0.2s, transform 0.2s;
  z-index: 5;
}

.wwt-sector-toggle:hover,
.wwt-sector-toggle:focus-visible {
  background: var(--accent, #d97706);
  color: #fff;
  transform: rotate(45deg);
}

.wwt-sector-card.is-expanded .wwt-sector-toggle {
  transform: rotate(45deg);
  background: var(--accent, #d97706);
  color: #fff;
}

.wwt-sector-body {
  padding: 1rem 1.25rem 1.25rem;
  background: var(--bg-warm, #faf9f7);
  border-radius: 10px;
  margin-top: 1rem;
  animation: wwt-expand 0.3s ease forwards;
}

.wwt-sector-body[hidden] {
  display: none;
}

@keyframes wwt-expand {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wwt-sector-meta p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main, #1e293b);
}

.wwt-sector-subcats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.wwt-sector-subcats li a {
  font-weight: 600;
  color: var(--primary-navy, #0a1628);
  text-decoration: none;
}

.wwt-sector-subcats li a:hover {
  text-decoration: underline;
}

.wwt-sector-subcats li span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted, #334155);
  margin-top: 0.15rem;
}

@media (max-width: 640px) {
  .wwt-sector-card {
    padding: 1.25rem;
  }
}

/* ==========================================================================
   OPERATING MODEL
   ========================================================================== */
.wwt-model {
  padding: 5rem 0;
  background: var(--primary-navy, #0a1628);
}

.wwt-model-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.wwt-model-title h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-top: 0.5rem;
}

.wwt-model-list {
  display: grid;
  gap: 1.5rem;
}

.wwt-model-list article {
  display: flex;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md, 16px);
  padding: 1.5rem;
}

.wwt-model-list article > span {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent, #d97706);
  min-width: 2.5rem;
}

.wwt-model-list article h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.wwt-model-list article p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .wwt-model-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INSIGHTS TEASER
   ========================================================================== */
.wwt-insights {
  padding: 4.5rem 0;
  background: #fff;
}

.wwt-insights-grid {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  gap: 2.5rem;
  align-items: center;
}

.wwt-insights-grid h2 {
  color: var(--primary-navy, #0a1628);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-top: 0.5rem;
}

.wwt-insights-copy p {
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .wwt-insights-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   GROUP COPY (data/group_copy/*.json): division cards, secondary line, CTA links
   ========================================================================== */
.wwt-hero-copy h1.wwt-h1-long {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.2;
}

.wwt-hero-copy h1.wwt-h1-long + .wwt-hero-lead {
  max-width: 560px;
}

.wwt-intro-grid p + p {
  margin-top: 0.9rem;
}

.wwt-sector-card-open .wwt-sector-name {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.wwt-sector-card-open .wwt-sector-desc {
  flex: 0 0 auto;
}

.wwt-sector-points {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
  display: grid;
  gap: 0.35rem;
}

.wwt-sector-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.wwt-sector-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sector-color, var(--accent, #d97706));
}

html[dir="rtl"] .wwt-sector-points li {
  padding-left: 0;
  padding-right: 1.1rem;
}

html[dir="rtl"] .wwt-sector-points li::before {
  left: auto;
  right: 0;
}

.wwt-secondary-line {
  margin: 2rem 0 0;
  text-align: center;
  color: #555;
  font-size: 0.95rem;
}

.wwt-secondary-line a {
  color: var(--accent, #d97706);
  font-weight: 700;
  text-decoration: none;
}

.wwt-secondary-line a:hover {
  text-decoration: underline;
}

.wwt-cta-links {
  margin-top: 1rem;
}

.wwt-cta-links a {
  display: inline-block;
  margin: 0 1.25rem 0.35rem 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[dir="rtl"] .wwt-cta-links a {
  margin: 0 0 0.35rem 1.25rem;
}

/* ==========================================================================
   THREE BUSINESS GROUPS (group copy v2)
   ========================================================================== */
.wwt-group {
  margin-top: 2.25rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-left: 4px solid var(--sector-color, var(--accent, #d97706));
  border-radius: var(--radius-md, 16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.wwt-group-head {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.wwt-group-media .wwt-group-head {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.wwt-group-image {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
}

.wwt-group-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wwt-group-copy .wwt-sector-top > span:first-child {
  color: var(--text-muted, #64748b);
}

.wwt-group-copy .wwt-sector-name {
  margin: 0.75rem 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sector-color, var(--accent, #d97706));
}

.wwt-group-copy h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  line-height: 1.25;
}

.wwt-group-text {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.wwt-group-copy .wwt-sector-points,
.wwt-group-copy .wwt-sector-points li {
  color: var(--text-main, #1e293b);
}

.wwt-group-cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--sector-color, var(--accent, #d97706));
  text-decoration: none;
}

.wwt-group-cta:hover {
  text-decoration: underline;
}

.wwt-group-items {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wwt-group-items-3 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.wwt-group-items-3 .wwt-group-item {
  grid-column: span 2;
}

.wwt-group-items-3 .wwt-group-item.is-feature {
  grid-column: span 3;
}

.wwt-group-items-3 .wwt-group-item.is-feature h4 {
  font-size: 1.3rem;
}

.wwt-group-items-3 .wwt-group-item.is-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  column-gap: 1.75rem;
  align-content: center;
}

.wwt-group-items-3 .wwt-group-item.is-wide .wwt-sector-image {
  grid-row: 1 / span 4;
  margin: 0;
}

.wwt-group-items-3 .wwt-group-item.is-wide .wwt-sector-cta {
  align-self: end;
}

.wwt-group-item .wwt-sector-name {
  margin: 0.5rem 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.wwt-sector-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.6rem;
  color: #fff;
}

.wwt-group-item .wwt-sector-image {
  margin-top: 0;
}

.wwt-group .wwt-secondary-line {
  margin-top: 1.25rem;
}

.wwt-button-call {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .wwt-group-media .wwt-group-head {
    grid-template-columns: 1fr;
  }

  .wwt-group-items-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wwt-group-items-3 .wwt-group-item,
  .wwt-group-items-3 .wwt-group-item.is-feature {
    grid-column: span 1;
  }

  .wwt-group-items-3 .wwt-group-item.is-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .wwt-group {
    padding: 1.25rem;
  }

  .wwt-group-items,
  .wwt-group-items-3 {
    grid-template-columns: 1fr;
  }

  .wwt-group-items-3 .wwt-group-item.is-wide {
    display: flex;
    grid-column: span 1;
  }

  .wwt-group-items-3 .wwt-group-item.is-wide .wwt-sector-image {
    margin: 0 0 1rem;
  }

  .wwt-group-copy h3 {
    font-size: 1.25rem;
  }
}
