:root {
  --page-bg: #ffffff;
  --text-color: #0b2336; /* deep navy for headings and text */
  --muted-text: #57707b; /* softened slate */
  --surface: #f7fbfb;
  --navy: #0b2336;
  --primary-blue: #2f7abf; /* bright logo-like blue */
  --primary-blue-soft: rgba(47,122,191,0.12);
  --sage: #9fbfa6; /* soft sage green accent */
  --aqua: #eaf8fb; /* hero gentle aqua */
  --border: rgba(47,122,191,0.08);
  --shadow: 0 14px 36px rgba(11,34,56,0.06);
}

/* Base page styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-color);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid rgba(11, 28, 49, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo-image {
  max-height: 58px;
  width: auto;
  height: 58px;
  display: block;
  box-shadow: none;
  background: transparent;
  border: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: nowrap;
}

.site-nav a {
  color: var(--text-color);
  font-weight: 450;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #6db9f6;
  color: var(--navy);
  outline: none;
}

.nav-cta {
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-icon {
  display: block;
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--text-color);
  border-radius: 999px;
  transition: background 0.25s ease;
}

.nav-icon::before,
.nav-icon::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text-color);
  border-radius: 999px;
  transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease, opacity 0.2s ease;
}

.nav-icon::before { top: -7px; }
.nav-icon::after  { bottom: -7px; }

/* X state when open */
.nav-toggle[aria-expanded="true"] .nav-icon {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.stat-header strong {
  color: var(--navy);
  font-size: 1.35rem;
  margin: 0;
}

.nav-icon::after {
  transform: translateY(5px);
}

/* Hero section */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--navy);
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(234,248,251,0.65) 32%, rgba(255,255,255,0) 58%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 4rem 0;
}

.section-eyebrow {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "system-ui", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2.88px;
  line-height: 28px;
  text-transform: uppercase;
  color: rgb(87, 112, 123);
  margin: 0 0 1rem;
}

.section-title {
  margin: 0 0 0.8rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.22;
  color: var(--navy);
}

@media (max-width: 960px) {
  .hero {
    min-height: 560px;
    background-position: top center;
  }

  .hero-grid {
    padding: 0 1.25rem;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 520px;
    background-position: top center;
  }

  .hero-copy {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-text,
  .brand-concept {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

/* Japanese accent text: small, elegant, non-intrusive */
.jp-accent {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.95;
  display: inline-block;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.en-accent {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.18em;
}

.hero-supplement {
  margin: 0.6rem 0 1rem;
  color: var(--muted-text);
  font-size: 0.98rem;
}


.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 3.2vw, 4rem);
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  color: #163E56;
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

@media (max-width: 720px) {
  .hero h1 {
    max-width: none;
  }
}

.section-header .section-title,
.contact-copy .section-title {
  margin: 0;
}

.hero-text {
  max-width: 38rem;
  color: var(--muted-text);
  margin: 1.5rem 0 2rem;
  font-size: 1.05rem;
}

/* Brand concept: small, elegant Japanese line */
.brand-concept {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  margin: 1rem 0 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* Ensure small Japanese line doesn't crowd CTAs on narrow screens */
@media (max-width: 720px) {
  .brand-concept {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.95rem 1.6rem;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  box-shadow: 0 14px 36px rgba(47,122,191,0.14);
}

.button-secondary {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11,34,54,0.12);
}

/* Hero CTA: invert on hover/focus */
.hero-actions .button-primary:hover,
.hero-actions .button-primary:focus-visible {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11,34,54,0.18);
  box-shadow: none;
}

.hero-actions .button-secondary:hover,
.hero-actions .button-secondary:focus-visible {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  box-shadow: 0 14px 36px rgba(47,122,191,0.14);
}

/* Prevent sticky hover on touch devices */
@media (hover: none) {
  .hero-actions .button-primary:hover,
  .hero-actions .button-secondary:hover {
    background: revert;
    color: revert;
    border-color: revert;
    box-shadow: revert;
  }
}

/* Non-hero primary buttons: invert on hover/focus */
.solutions-hero-copy .button-primary:hover,
.solutions-hero-copy .button-primary:focus-visible,
.about-intro .button-primary:hover,
.about-intro .button-primary:focus-visible,
.contact-form .button-primary:hover,
.contact-form .button-primary:focus-visible {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: none;
}

@media (hover: none) {
  .solutions-hero-copy .button-primary:hover,
  .about-intro .button-primary:hover,
  .contact-form .button-primary:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 14px 36px rgba(47,122,191,0.14);
  }
}

.stat-item {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(11,34,54,0.04);
}

.stat-header {
  display: grid;
  gap: 0.9rem;
  align-items: start;
  justify-items: start;
}

.stats-icon-wrap {
  width: 82px;
  height: 82px;
  min-width: 82px;
  border-radius: 999px;
  background: rgba(234,248,251,0.9);
  display: grid;
  place-items: center;
}

.stats-icon-image {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.stat-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin: 0;
}

.stat-item--experience .stat-detail-group {
  display: grid;
  gap: 0.55rem;
  margin-top: 0;
}

.stat-item--experience .stat-detail-group {
  display: grid;
  gap: 0.75rem; /* ~12px */
  margin-top: 0.25rem; /* space under header */
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-header {
    gap: 0.75rem;
  }

  .stats-icon-wrap {
    width: 72px;
    height: 72px;
    min-width: 72px;
  }

  .stats-icon-image {
    width: 58px;
    height: 58px;
  }
}

.stat-detail-row {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  align-items: baseline;
}

.stat-detail-label {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1rem;
}

.stat-detail-meta {
  color: var(--muted-text);
  font-size: 0.96rem;
  line-height: 1.45;
}

.stat-item p {
  color: var(--muted-text);
  margin: 0;
  line-height: 1.55;
}

/* Badges over hero visual to show supported product categories */
.hero-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  z-index: 5;
}

.hero-badges .badge {
  background: var(--primary-blue-soft);
  color: white;
  border: 1px solid rgba(47,122,191,0.18);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-badges .badge svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* Stats bar */
.stats-bar {
  padding: 2rem 0;
  background: #f7f8fb;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Section layout */
.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 1.8rem;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-blue), var(--sage));
}

.section-header .section-title {
  color: var(--navy);
}

.card-grid,
.feature-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solutions-hero {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 0;
  align-items: center;
  background: linear-gradient(135deg, rgba(234, 248, 251, 0.28), rgba(255, 255, 255, 0.92));
  padding: 2rem 0 2.5rem 2rem;
  border-radius: 32px;
  overflow: hidden;
}

.solutions-hero-copy {
  max-width: 520px;
  padding-right: 1rem;
  z-index: 1;
}

.solutions-hero-copy p:not(.section-eyebrow) {
  margin: 1.4rem 0 1.8rem;
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 40rem;
}

.solutions-hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  /* pull image left to overlap copy column by ~40px */
  margin-left: -40px;
}

.solutions-image-frame {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #eef7fb;
  /* fade left edge so image blends into section background */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 33%);
  mask-image: linear-gradient(to right, transparent 0%, black 33%);
}

.solutions-image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .solutions-hero {
    grid-template-columns: 1fr;
    padding: 2rem;
    overflow: visible;
  }

  .solutions-hero-copy {
    max-width: 100%;
    padding-right: 0;
  }

  .solutions-hero-copy p {
    margin-bottom: 1.5rem;
  }

  .solutions-hero-image {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .solutions-image-frame {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .solutions-image-frame img {
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 12px 28px rgba(11,34,54,0.04);
}

.card h3 {
  margin-top: 0;
}

.card p {
  margin: 1rem 0 0;
  color: var(--muted-text);
}

/* Ensure solution card text is pure white and overrides .card p */
section#solutions .solutions-grid .solution-card .solution-content h3,
section#solutions .solutions-grid .solution-card .solution-content p {
  color: #ffffff;
}

/* Keep white on hover as well */
section#solutions .solutions-grid .solution-card:hover .solution-content h3,
section#solutions .solutions-grid .solution-card:hover .solution-content p {
  color: #ffffff;
}

.why-section {
  background: #f9f8f4;
}

/* Final override: ensure solution card text remains pure white in all cases */
section#solutions .solutions-grid .solution-card .solution-content h3,
section#solutions .solutions-grid .solution-card .solution-content p {
  color: #ffffff !important;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(47,122,191,0.06);
  border-radius: 20px;
  padding: 1.75rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: block;
  margin-bottom: 1rem;
  object-fit: contain;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--muted-text);
}

.about-section {
  position: relative;
  background-color: #fff;
  min-height: 560px;
  padding: 4rem 0;
  overflow: hidden;
}

.about-hero {
  position: relative;
  display: block;
  min-height: 560px;
  margin-top: 1.5rem;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.about-intro {
  display: grid;
  gap: 1.2rem;
}

.about-intro p {
  margin: 0;
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 56rem;
}

.about-network-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 1;
  /* fade left edge so image emerges from section background */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 43%);
  mask-image: linear-gradient(to right, transparent 0%, black 43%);
}

@media (max-width: 900px) {
  .about-section {
    padding: 3rem 0;
    min-height: auto;
  }

  .about-hero {
    margin-top: 1rem;
  }

  .about-network-image {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 1.5rem;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.brand-support {
  background: linear-gradient(180deg, #f7fdfd 0%, #eef9fb 100%);
  border-top: 1px solid rgba(47,122,191,0.04);
  border-bottom: 1px solid rgba(47,122,191,0.04);
}

.brand-support-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.brand-support h2 {
  margin-top: 0;
}

.brand-graphic {
  min-height: 320px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(2, 17, 34, 0.1);
  background: #fff;
}

.brand-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.process-picture {
  display: block;
  width: 100%;
  margin-top: 3rem;
}

.process-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .process-picture {
    margin-top: 2rem;
  }

  .process-image {
    width: 100%;
    height: auto;
  }
}

.contact-section {
  padding-bottom: 4.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.contact-copy .section-title {
  margin: 0.5rem 0 1rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 24px 45px rgba(3, 21, 45, 0.08);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(11, 28, 49, 0.08);
  background: #fcfeff;
  color: var(--text-color);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  border-top: 1px solid rgba(11, 28, 49, 0.08);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  color: var(--muted-text);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  position: relative;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--primary-blue);
  outline: none;
}

.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Responsive layout adjustments */
@media (max-width: 900px) {
  .hero-grid,
  .brand-support-inner,
  .contact-grid,
  .card-grid,
  .feature-grid,
  .process-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }
}

@media (max-width: 767px) {
  .feature-icon {
    width: 56px;
    height: 56px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(11, 28, 49, 0.08);
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.32s ease, opacity 0.22s ease;
    border-bottom: 1px solid rgba(11, 28, 49, 0.08);
  }

  .site-nav.open {
    max-height: 460px;
    opacity: 1;
  }

  .site-nav a {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(11, 28, 49, 0.06);
    font-size: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 1.25rem;
  }

  .nav-cta {
    margin: 0.5rem 1.5rem 0.75rem;
    display: inline-block;
    width: fit-content;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    gap: 0.65rem;
  }

  .brand-text {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 2.8vw, 3rem);
  }

  .button {
    width: 100%;
  }

  /* Reduce logo box and image size on small screens to avoid clipping */
  .brand-logo-box {
    width: 140px;
    min-height: 46px;
    padding: 0.35rem 0.5rem;
  }

  .brand-logo-image {
    max-width: 120px;
  }
}

/* Product categories page skeleton */
.categories-page-main {
  background: #ffffff;
}

.categories-hero {
  padding: 4.25rem 0 2.4rem;
}

.categories-heading {
  text-align: left;
}

.categories-heading .section-title {
  margin-bottom: 0;
}

.categories-heading .section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-blue), var(--sage));
  margin-top: 0.85rem;
}

.categories-intro {
  margin: 0.9rem 0 0;
  color: var(--muted-text);
  max-width: 58rem;
}

.categories-list {
  display: grid;
  gap: 3rem;
}

.category-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
  padding: 0 0 2.8rem;
  border-bottom: 1px solid rgba(47, 122, 191, 0.1);
}

.category-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category-row.reverse .category-copy {
  order: 1;
}

.category-row.reverse .category-media {
  order: 2;
}

.category-media {
  width: 100%;
}

.category-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #eaf8fb;
  border: 1px solid rgba(47, 122, 191, 0.14);
  border-radius: 18px;
  overflow: hidden;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.category-copy h3 {
  margin: 0 0 0.9rem;
  color: var(--navy);
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  line-height: 1.3;
}

.category-copy ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted-text);
  display: grid;
  gap: 0.35rem;
}

.category-subhead {
  margin: 0 0 0.7rem;
  font-size: 0.96rem;
  color: var(--navy);
  font-weight: 700;
}

.categories-cta {
  margin-top: 0.6rem;
  padding: 2.6rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(234, 248, 251, 0.55), rgba(255, 255, 255, 1));
  border: 1px solid rgba(47, 122, 191, 0.12);
}

.categories-cta h2 {
  margin: 0;
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  line-height: 1.28;
  color: #163e56;
}

.categories-cta p {
  margin: 0.9rem 0 1.5rem;
  color: var(--muted-text);
  max-width: 56rem;
}

.categories-cta .button-primary:hover,
.categories-cta .button-primary:focus-visible {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: none;
}

@media (hover: none) {
  .categories-cta .button-primary:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 14px 36px rgba(47,122,191,0.14);
  }
}

@media (max-width: 767px) {
  .categories-hero {
    padding: 3.2rem 0 1.8rem;
  }

  .categories-list {
    gap: 2.3rem;
  }

  .category-row,
  .category-row.reverse {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding-bottom: 2rem;
  }

  .category-row .category-media,
  .category-row .category-copy,
  .category-row.reverse .category-media,
  .category-row.reverse .category-copy {
    order: initial;
  }

  .category-placeholder {
    width: 100%;
  }

  .categories-cta {
    margin-top: 0.4rem;
    padding: 1.8rem;
  }
}

/* About page */
.about-page-main {
  background: #ffffff;
}

.about-page-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfd 100%);
  padding: 4.2rem 0 2.6rem;
}

.about-page-hero-inner {
  max-width: none;
  text-align: left;
}

.about-page-hero-inner .section-eyebrow,
.about-page-hero-inner .section-title,
.about-page-hero-inner .about-page-intro {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.about-page-hero .section-title {
  margin-bottom: 0;
}

.about-page-hero .section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-blue), var(--sage));
  margin-top: 0.85rem;
}

.about-page-intro {
  margin: 0.9rem 0 0;
  color: var(--muted-text);
  max-width: 58rem;
}

.about-page-partnerships {
  padding-top: 1.8rem;
  padding-bottom: 3.8rem;
}

.about-partnerships-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.4fr);
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.about-partnerships-media {
  width: 100%;
  max-width: 460px;
  justify-self: end;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-partnerships-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(218, 244, 248, 0.14) 100%
  );
}

.about-partnerships-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8) contrast(0.94) brightness(1.05);
  display: block;
}

.about-partnerships-copy .section-eyebrow {
  margin: 0 0 0.9rem;
}

.about-partnerships-copy .section-title {
  margin: 0;
  text-align: left;
}

.about-partnerships-copy .section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-blue), var(--sage));
  margin-top: 0.85rem;
}

.about-partnerships-copy > p:not(.section-eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted-text);
  text-align: left;
}

.about-page-header {
  max-width: 760px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.business-item {
  background: #ffffff;
  border: 1px solid rgba(47, 122, 191, 0.12);
  border-radius: 16px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.business-number {
  width: 50px;
  height: 50px;
  margin: 0 0 0.95rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  opacity: 1;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 700;
  transition: none;
  transform: none;
}

.business-item:hover .business-number,
.business-item:focus-within .business-number {
  color: #ffffff;
  opacity: 1;
  transform: none;
}

.business-title {
  margin: 0 0 0.8rem;
  color: var(--navy);
  font-family: inherit;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
}

.business-body {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.7;
}

.about-page-company {
  padding-top: 3.6rem;
}

.company-profile-table-wrap {
  border: 1px solid rgba(47, 122, 191, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.company-profile-table {
  width: 100%;
  border-collapse: collapse;
}

.company-profile-table th,
.company-profile-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(47, 122, 191, 0.1);
  text-align: left;
}

.company-profile-table tr:last-child th,
.company-profile-table tr:last-child td {
  border-bottom: none;
}

.company-profile-table th {
  width: 32%;
  background: #f9fcfd;
  color: var(--navy);
  font-weight: 600;
}

.company-profile-table td {
  color: var(--muted-text);
}

.office-block {
  margin: 0;
}

.office-block-secondary {
  margin-top: 0.85rem;
}

.office-name {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.45;
}

.office-address {
  margin: 0.25rem 0 0;
  color: var(--muted-text);
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.about-page-cta {
  padding-top: 3rem;
  padding-bottom: 4.6rem;
}

.about-page-cta-inner {
  border: 1px solid rgba(47, 122, 191, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(234, 248, 251, 0.5), #ffffff);
  padding: 2.5rem;
}

.about-page-cta-inner h2 {
  margin: 0;
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  line-height: 1.32;
  color: #163e56;
}

.about-page-cta-inner p {
  margin: 0.9rem 0 1.4rem;
  color: var(--muted-text);
  max-width: 54rem;
}

.about-page-cta-inner .button-primary:hover,
.about-page-cta-inner .button-primary:focus-visible {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: none;
}

@media (hover: none) {
  .about-page-cta-inner .button-primary:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 14px 36px rgba(47,122,191,0.14);
  }
}

@media (max-width: 900px) {
  .about-partnerships-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .about-partnerships-media {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 767px) {
  .about-hero {
    min-height: auto;
  }

  .about-content {
    max-width: 100%;
  }

  .about-network-image {
    display: none;
    margin: 0;
  }

  .about-page-hero {
    padding: 3.3rem 0 2rem;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .about-partnerships-copy {
    width: 100%;
    max-width: none;
  }

  .about-partnerships-media {
    display: none;
    max-width: none;
  }

  .about-partnerships-media::after {
    display: none;
  }

  .about-partnerships-media img {
    display: none;
  }

  .about-page-partnerships,
  .about-page-company,
  .about-page-cta {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
  }

  .company-profile-table th,
  .company-profile-table td {
    display: block;
    width: 100%;
  }

  .company-profile-table th {
    border-bottom: none;
    padding-bottom: 0.4rem;
  }

  .company-profile-table td {
    padding-top: 0.25rem;
  }

  .about-page-cta-inner {
    padding: 1.75rem;
  }
}
