
:root {
  --about-cyan: #2bc6fe;
  --about-black: #080b0e;
  --about-ink: #151a1f;
  --about-muted: #66717a;
  --about-light: #f5f8fa;
  --about-line: #e4eaee;
  --about-radius: 20px;
}

.about-page {
  color: var(--about-ink);
  font-family: Inter, Arial, sans-serif;
  overflow: hidden;
}

.about-page *,
.about-page *::before,
.about-page *::after {
  box-sizing: border-box;
}

.about-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page a {
  text-decoration: none;
}

.about-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.about-page h1,
.about-page h2,
.about-page h3 {
  letter-spacing: -0.035em;
}

.about-page h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.13;
  font-weight: 850;
}

.about-page h1 span,
.about-page h2 span {
  color: var(--about-cyan);
}

.eyebrow {
  margin: 0 0 16px;
  color: #168fb7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* HERO */

.about-hero {
  padding: 80px 0;
  color: white;
  background:
    radial-gradient(circle at 85% 15%, rgba(43,198,254,.12), transparent 32%),
    var(--about-black);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 55px;
}

.about-hero .eyebrow {
  color: #b7c8d0;
}

.about-hero h1 {
  margin: 0 0 23px;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.03;
  font-weight: 900;
}

.hero-description {
  color: #c4cdd2;
  font-size: 15px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.about-btn,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  color: #071116;
  background: var(--about-cyan);
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease;
}

.about-btn:hover,
.cta-button:hover {
  transform: translateY(-3px);
}

.text-link {
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.hero-trust {
  margin-top: 27px;
  color: #b7c1c7;
  font-size: 12px;
}

.hero-trust span {
  padding: 0 8px;
  color: var(--about-cyan);
}

.hero-image-wrap {
  position: relative;
  min-height: 430px;
  border: 1px solid #344047;
  border-radius: 22px;
}

.factory-image {
  position: absolute;
  inset: 0;
  border-radius: 21px;
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 21px;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.72));
  pointer-events: none;
}

.hero-image-caption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 22px;
  left: 20px;
  color: white;
}

.hero-image-caption strong,
.hero-image-caption span {
  display: block;
}

.hero-image-caption strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.hero-image-caption span {
  color: #d0d9de;
  font-size: 12px;
}

.since-badge {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: -18px;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-radius: 12px;
  color: #061016;
  background: var(--about-cyan);
}

.since-badge small,
.since-badge span {
  font-size: 10px;
  font-weight: 700;
}

.since-badge strong {
  font-size: 35px;
  line-height: 1.2;
}

/* HIGHLIGHTS */

.highlights {
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--about-line);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border-right: 1px solid var(--about-line);
}

.highlight-card:last-child {
  border-right: 0;
}

.highlight-icon,
.value-icon,
.product-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #0787b3;
  background: #eaf9ff;
  font-size: 23px;
}

.highlight-card strong {
  font-size: 15px;
}

.highlight-card p {
  margin: 5px 0 0;
  color: var(--about-muted);
  font-size: 11px;
  line-height: 1.6;
}

.stat-note,
.small-note {
  color: #849099;
  font-size: 12px;
  line-height: 1.8;
}

.stat-note {
  margin: 15px auto 0;
  text-align: center;
}

/* GENERAL SECTIONS */

.about-section {
  padding: 90px 0;
}

.story-grid,
.team-grid,
.leader-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 65px;
}

.story-image,
.team-image,
.leader-photo {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border-radius: var(--about-radius);
  background: #eaf0f3;
}

.story-image img,
.team-image img,
.leader-photo img {
  position: absolute;
  inset: 0;
}

.image-label {
  position: absolute;
  bottom: 20px;
  left: 0;
  padding: 12px 17px;
  color: #071116;
  background: var(--about-cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}

.section-copy > p:not(.eyebrow) {
  color: var(--about-muted);
  font-size: 14px;
  line-height: 1.95;
}

.story-quote {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding: 17px;
  border-left: 3px solid var(--about-cyan);
  border-radius: 0 10px 10px 0;
  background: #f0fbff;
}

.story-quote > span {
  color: var(--about-cyan);
  font-size: 40px;
  line-height: 1;
}

.story-quote p {
  margin: 0;
  color: #45535c;
  font-size: 13px;
  line-height: 1.8;
}

/* VALUES AND PRODUCT CARDS */

.values-section {
  padding: 85px 0;
  background: #f5f8fa;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading > p:last-child {
  color: var(--about-muted);
  font-size: 14px;
  line-height: 1.85;
}

.values-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-card,
.product-card,
.policy-card {
  padding: 24px 21px;
  border: 1px solid var(--about-line);
  border-radius: 15px;
  background: white;
  transition: transform .2s ease, box-shadow .2s ease;
}

.value-card:hover,
.product-card:hover,
.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 38px rgba(9,22,31,.09);
}

.value-icon,
.product-icon {
  margin-bottom: 19px;
}

.value-card h3,
.product-card h3,
.policy-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
}

.value-card p,
.product-card p,
.policy-card p {
  margin: 0;
  color: var(--about-muted);
  font-size: 12px;
  line-height: 1.85;
}

.small-note {
  margin-top: 23px;
}

/* TEAM */

.team-section {
  padding: 90px 0;
  color: white;
  background: var(--about-black);
}

.team-section .eyebrow {
  color: #a9c0cb;
}

.team-section .section-copy > p:not(.eyebrow) {
  color: #bac5cb;
}

.team-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 25px;
}

.team-points span {
  color: #d9e1e5;
  font-size: 13px;
}

.team-points span::first-letter {
  color: var(--about-cyan);
}

.team-image {
  min-height: 440px;
  background: #202a30;
}

.team-image::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}

.team-image-caption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: white;
}

.team-image-caption strong,
.team-image-caption span {
  display: block;
}

.team-image-caption strong {
  margin-bottom: 7px;
  font-size: 17px;
}

.team-image-caption span {
  color: #d0d9de;
  font-size: 12px;
}

/* POLICIES */

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.policy-card > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  color: #087fa7;
  background: #eaf9ff;
  font-size: 12px;
  font-weight: 900;
}

/* LEADERSHIP */

.leader-grid {
  grid-template-columns: .75fr 1.25fr;
}

.leader-photo {
  min-height: 400px;
  background: radial-gradient(circle at 50% 30%, #34424a, #10171b 70%);
}

.leader-photo img {
  z-index: 1;
}

.portrait-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: #b7c8d0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.leader-name {
  margin: 0 0 5px;
  font-size: 22px;
  font-weight: 900;
}

.leader-role {
  color: #078fbe !important;
  font-weight: 700;
}

/* CTA */

.about-cta {
  padding: 50px 0;
  background: var(--about-cyan);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.about-cta .eyebrow {
  color: #124150;
}

.about-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.5vw, 42px);
}

.about-cta p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: #164151;
  font-size: 14px;
  line-height: 1.8;
}

.cta-button {
  flex-shrink: 0;
  color: white;
  background: var(--about-black);
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .hero-grid {
    gap: 32px;
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-card:nth-child(2) {
    border-right: 0;
  }

  .story-grid,
  .team-grid,
  .leader-grid {
    gap: 35px;
  }

  .values-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .about-container {
    width: calc(100% - 32px);
  }

  .about-hero,
  .about-section,
  .team-section,
  .values-section {
    padding: 58px 0;
  }

  .hero-grid,
  .story-grid,
  .team-grid,
  .leader-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-hero h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .hero-image-wrap {
    min-height: 320px;
    margin-left: 12px;
  }

  .since-badge {
    left: -12px;
  }

  .highlight-grid {
    gap: 0;
  }

  .highlight-card {
    padding: 13px 7px;
    border-right: 0;
  }

  .highlight-icon {
    width: 36px;
    height: 36px;
    font-size: 19px;
  }

  .highlight-card strong {
    font-size: 12px;
  }

  .highlight-card p {
    font-size: 10px;
  }

  .story-image,
  .team-image,
  .leader-photo {
    min-height: 320px;
  }

  .values-grid,
  .products-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }
}

/* CEO portrait - fix black side and image cropping */
.leader-photo {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #ffffff;
}

/* Keep the placeholder hidden when the image loads */
.leader-photo .portrait-placeholder {
  display: none;
}

/* Fix About Us section images */
.about-image {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Production/team images */
.team-image,
.production-image,
.quality-image {
  overflow: hidden;
  background: #ffffff;
}

.team-image img,
.production-image img,
.quality-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Factory photo fix */
.about-image {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* FINAL FIX: About Us factory and team images */

/* Hero factory image */
.about-page .hero-image-wrap {
  position: relative;
  height: 430px;
  min-height: 0;
  overflow: hidden;
}

.about-page .hero-image-wrap > img.factory-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Story factory image */
.about-page .story-image {
  position: relative;
  height: 450px;
  min-height: 0;
  overflow: hidden;
}

.about-page .story-image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Production team image */
.about-page .team-image {
  position: relative;
  height: 440px;
  min-height: 0;
  overflow: hidden;
}

.about-page .team-image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile layout */
@media (max-width: 720px) {
  .about-page .hero-image-wrap {
    height: 320px;
  }

  .about-page .story-image,
  .about-page .team-image {
    height: 320px;
  }
}

/* FIX: Factory image fills the complete frame */
.story-image,
.story-visual,
.story-image-frame {
    position: relative;
    overflow: hidden;
}

.story-image img,
.story-visual img,
.story-image-frame img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* Prevent empty space beside the factory image */
.story-image,
.story-visual,
.story-image-frame {
    background: transparent;
}
