/* ============================================
   Hikari IT Solutions — Component-driven site
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --surface-hover: #f8fafc;
  --border: #e2e8f0;
  --border-hover: rgba(217, 119, 6, 0.45);
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-dark: #b45309;
  --accent-glow: rgba(245, 158, 11, 0.1);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-full: 9999px;
  --container: 1140px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(245, 158, 11, 0.25); color: var(--text); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 720px; }

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.375rem; }
h4 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600; }

.text-gradient {
  background: linear-gradient(135deg, #b45309, #d97706, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.headline-accent {
  white-space: nowrap;
  display: inline-block;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}

.link { color: var(--accent-dark); transition: color var(--transition); }
.link:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  padding: 14px 32px;
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 8px 28px rgba(217, 119, 6, 0.28);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 32px;
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--bg-alt);
  color: var(--accent-dark);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo { display: flex; align-items: center; gap: 10px; }

.logo-img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--accent-dark); }

.nav-cta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero — centered, no images */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, var(--accent-glow), transparent 60%),
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.hero-glow {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.06), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 820px;
}

.ticker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ticker-dot { color: var(--accent); opacity: 0.6; }

.hero-desc {
  margin: 28px auto 40px;
  max-width: 640px;
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { max-width: 680px; margin-bottom: 56px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-header p {
  margin-top: 18px;
  color: var(--text-muted);
  line-height: 1.75;
}

.section-intro { margin-bottom: 64px; }

.section-intro.center {
  text-align: center;
}

.intro-label {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 600;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.4;
}

.intro-sub {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 1rem;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Service cards — 3 column */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 32px;
  position: relative;
}

.service-card:hover { transform: translateY(-6px); }

.card-number {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Solution cards — 2x2 grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.08);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(217, 119, 6, 0.15);
  border-color: rgba(245, 158, 11, 0.45);
  background: #ffffff;
}

.product-card .solution-card-top {
  padding: 24px 22px 18px;
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(245, 158, 11, 0.04));
  border-bottom: 2px solid var(--accent);
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-icon {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-card .solution-tag,
.product-card .product-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.02em;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: auto;
  color: var(--accent-dark);
  transition: color var(--transition), transform var(--transition);
}

.product-link svg {
  width: 16px;
  height: 16px;
}

.product-link:hover {
  color: var(--accent);
  transform: translate(1px, -1px);
}

.product-card p {
  padding: 20px 22px 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.solutions-divider {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 32px;
  position: relative;
}

.solutions-divider::before,
.solutions-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: var(--border);
}

.solutions-divider::before { left: 0; }
.solutions-divider::after { right: 0; }

.solution-card {
  padding: 28px 32px;
}

.solution-card-top {
  margin-bottom: 16px;
}

.solution-tag {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
}

.solution-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Feature split — text + abstract UI panel */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-content p {
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.75;
}

.feature-content em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text);
}

.feature-content strong { color: var(--text); font-weight: 600; }

.check-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Digital ecosystem visual */
.ecosystem-visual {
  position: relative;
  padding: 8px;
}

.ecosystem-card {
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
}

.ecosystem-header {
  text-align: center;
  margin-bottom: 20px;
}

.ecosystem-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.ecosystem-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.ecosystem-diagram {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 300px;
  margin: 0 auto;
}

.eco-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent);
  opacity: 0.45;
}

.eco-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 88px;
  height: 88px;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 32px rgba(217, 119, 6, 0.15);
  z-index: 2;
}

.eco-hub-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.eco-hub-text {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.eco-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  min-width: 72px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: all var(--transition);
}

.eco-node svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.eco-node span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
}

.eco-node--1 { top: 0; left: 50%; transform: translateX(-50%); }
.eco-node--2 { top: 14%; right: 0; }
.eco-node--3 { bottom: 14%; right: 0; }
.eco-node--4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.eco-node--5 { bottom: 14%; left: 0; }
.eco-node--6 { top: 14%; left: 0; }

.ecosystem-card:hover .eco-node {
  border-color: rgba(245, 158, 11, 0.3);
}

/* Story bento grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.story-quote {
  grid-column: span 2;
  padding: 36px;
}

.story-quote p {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

.story-mission {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 1));
  border-color: rgba(245, 158, 11, 0.25);
}

.mission-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.story-mission p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.story-value {
  padding: 28px;
}

.story-value h4 { margin-bottom: 8px; color: var(--accent-dark); }

.story-value p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Directors */
.directors-section {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

.directors-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.director-card {
  text-align: center;
}

.director-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(245, 158, 11, 0.25);
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}

.director-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.director-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.director-role {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.director-org {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.director-exp {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: justify;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.director-exp p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.director-exp p:last-child {
  margin-bottom: 0;
}

.director-exp strong {
  color: var(--accent-dark);
  font-weight: 600;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  padding: 28px 24px;
}

.benefit-card h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Metrics bar */
.metrics-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 56px;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.metrics-dot { color: var(--accent); opacity: 0.5; }

/* Commitment panel */
.commitment-panel {
  text-align: center;
  padding: 64px 48px;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--bg-alt), var(--surface));
}

.commitment-panel h2 { margin-bottom: 16px; }

.commitment-panel p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent-dark); }

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.active .faq-answer { grid-template-rows: 1fr; }

.faq-answer > p {
  overflow: hidden;
  padding: 0 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  transition: padding 0.3s ease;
}

.faq-item.active .faq-answer > p { padding: 0 24px 20px; }

/* Contact CTA */
.section-cta { padding-bottom: 120px; }

.cta-panel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-content.center {
  text-align: center;
  max-width: 640px;
}

.cta-content p {
  margin-top: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-dark);
  transition: color var(--transition);
}

.contact-email-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-email:hover { color: var(--accent); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo-text {
  font-size: 1.125rem;
  line-height: 1.35;
  white-space: nowrap;
}

.footer-location {
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 300px;
}

.social-links { display: flex; gap: 10px; margin-top: 24px; }

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-links a:hover {
  border-color: var(--border-hover);
  color: var(--accent-dark);
  background: var(--bg-alt);
}

.social-links svg { width: 16px; height: 16px; }

.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-links ul li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent-dark); }

.footer-contact { margin-top: 20px; }

.footer-contact a { color: var(--accent-dark); font-size: 0.875rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-bottom p { font-size: 0.8125rem; color: var(--text-dim); }
.footer-tagline { opacity: 0.7; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; }
}

@media (max-width: 1023px) {
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 48px; }
  .ecosystem-visual { order: -1; max-width: 100%; margin: 0 auto; width: 100%; }
  .ecosystem-diagram {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    height: auto;
    max-width: 480px;
  }
  .eco-lines { display: none; }
  .eco-hub {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0 auto 4px;
  }
  .eco-node {
    position: relative;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    min-width: 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }
  .eco-node span { text-align: left; font-size: 0.75rem; }
  .story-grid { grid-template-columns: 1fr; }
  .story-quote { grid-column: span 1; }
  .directors-grid { grid-template-columns: 1fr; gap: 40px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links li a {
    display: block;
    padding: 16px;
    font-size: 1.0625rem;
    border-radius: var(--radius-sm);
    color: var(--text);
  }

  .nav-links li a:hover { background: var(--bg-alt); color: var(--accent-dark); }

  .nav-toggle { display: flex; }

  .section { padding: 72px 0; }

  .ecosystem-diagram {
    max-width: 100%;
    gap: 10px;
  }

  .products-grid { grid-template-columns: 1fr; }

  .product-card { min-height: auto; }

  .eco-hub {
    width: 80px;
    height: 80px;
  }

  .eco-hub-logo {
    width: 28px;
    height: 28px;
  }

  .benefits-grid { grid-template-columns: 1fr; }
  .commitment-panel { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr; }

  .metrics-bar {
    font-size: 0.6875rem;
    gap: 6px 10px;
  }
}

@media (max-width: 480px) {
  .ticker { flex-wrap: wrap; justify-content: center; gap: 6px 10px; }

  .headline-accent {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
  }

  .solutions-divider::before,
  .solutions-divider::after { display: none; }
}
