:root {
  --about-red: #c80f24;
  --about-red-dark: #8f101e;
  --about-gold: #e3a223;
  --about-ink: #35221c;
  --about-paper: #fffaf0;
  --about-paper-deep: #faefd8;
  --about-green: #47742e;
  --about-line: rgba(162, 103, 44, 0.24);
  --about-script: "Segoe Print", "Comic Sans MS", cursive;
}

.about-page {
  background:
    radial-gradient(circle at 1px 1px, rgba(105, 66, 35, 0.06) 1px, transparent 1.5px) 0 0 / 16px 16px,
    var(--about-paper);
  color: var(--about-ink);
}

.about-page main {
  overflow: hidden;
}

.about-container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.about-kicker,
.about-eyebrow {
  margin: 0 0 10px;
  color: var(--about-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.about-section-heading h2,
.about-story-copy h2,
.about-identity h2,
.about-cta h2 {
  margin: 0;
  color: var(--about-ink);
  font-family: var(--about-script);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.about-section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
}

.about-section-heading > p:last-child {
  margin: 12px auto 0;
  color: #725e52;
  font-size: 1rem;
}

.about-hero {
  min-height: 560px;
  position: relative;
  isolation: isolate;
  background: var(--about-paper);
}

.about-hero::before,
.about-hero::after {
  content: none;
}

.about-hero-inner {
  width: min(1240px, calc(100% - 64px));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(600px, 1.22fr);
  align-items: center;
  gap: 34px;
}

.about-hero-copy {
  align-self: center;
  padding: 42px 0;
  position: relative;
  z-index: 2;
}

.about-hero-logo {
  width: 150px;
  height: 120px;
  margin-bottom: 10px;
  object-fit: contain;
  object-position: left center;
}

.about-hero-copy h1 {
  max-width: 590px;
  margin: 0;
  color: var(--about-ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: clamp(2.35rem, 3.4vw, 3.55rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
}

.about-hero-copy h1 span {
  color: var(--about-red);
  position: relative;
  white-space: nowrap;
}

.about-hero-copy h1 span::after {
  content: "";
  height: 8px;
  position: absolute;
  left: 4%;
  right: 2%;
  bottom: -2px;
  border-radius: 50%;
  background: var(--about-gold);
  transform: rotate(-2deg);
}

.about-hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: #5e4b40;
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-hero-actions,
.about-cta-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-button {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.about-button:focus-visible,
.about-ecosystem-card:focus-visible {
  outline: 3px solid rgba(227, 162, 35, 0.5);
  outline-offset: 3px;
}

.about-button-primary {
  color: #fff;
  background: linear-gradient(135deg, #d71a2f, #aa091b);
  box-shadow: 0 12px 24px rgba(174, 14, 35, 0.2);
}

.about-button-secondary {
  color: var(--about-red);
  border-color: rgba(200, 15, 36, 0.38);
  background: rgba(255, 255, 255, 0.72);
}

.about-hero-visual {
  min-height: 0;
  position: relative;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-visual > img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.02) contrast(1.01) drop-shadow(0 18px 20px rgba(95, 56, 20, 0.08));
}

@media (min-width: 1101px) {
  .about-hero {
    min-height: 610px;
  }

  .about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(255, 250, 240, 0.98) 0%,
      rgba(255, 250, 240, 0.94) 28%,
      rgba(255, 250, 240, 0.72) 39%,
      rgba(255, 250, 240, 0.12) 57%,
      transparent 72%
    );
  }

  .about-hero-inner {
    width: 100%;
    min-height: 610px;
    display: block;
    position: relative;
  }

  .about-hero-copy {
    width: min(1240px, calc(100% - 64px));
    min-height: 610px;
    margin: 0 auto;
    padding: 38px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .about-hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--about-paper);
  }

  .about-hero-visual > img {
    width: 88%;
    height: 88%;
    max-width: none;
    margin-left: auto;
    object-fit: contain;
    object-position: right center;
    filter: none;
  }
}

.about-story {
  padding: 88px 0;
  background: rgba(255, 255, 255, 0.64);
  border-top: 1px solid var(--about-line);
  border-bottom: 1px solid var(--about-line);
}

.about-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 62px;
}

.about-story-visual {
  margin: 0;
  position: relative;
}

.about-story-visual img {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  border: 1px solid rgba(218, 149, 48, 0.36);
  border-radius: 6px;
  box-shadow: 0 22px 54px rgba(96, 57, 24, 0.13);
}

.about-story-visual figcaption {
  width: min(82%, 420px);
  padding: 14px 20px;
  position: absolute;
  right: -24px;
  bottom: -22px;
  color: #fff;
  border-radius: 4px;
  background: var(--about-red);
  font-family: var(--about-script);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: center;
  transform: rotate(-1deg);
}

.about-story-copy h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.7rem);
}

.about-story-copy > p {
  margin: 18px 0 0;
  color: #665348;
  font-size: 1rem;
}

.about-story-copy blockquote {
  margin: 28px 0 0;
  padding: 20px 0 20px 24px;
  border-left: 5px solid var(--about-gold);
}

.about-story-copy blockquote p {
  margin: 0;
  color: var(--about-red-dark);
  font-family: var(--about-script);
  font-size: 1.2rem;
  font-weight: 700;
}

.about-values {
  padding: 82px 0;
}

.about-value-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--about-line);
  border-bottom: 1px solid var(--about-line);
}

.about-value-list article {
  min-height: 230px;
  padding: 28px 26px;
  position: relative;
}

.about-value-list article + article {
  border-left: 1px solid var(--about-line);
}

.about-value-number {
  color: var(--about-red);
  font-family: var(--about-script);
  font-size: 1.1rem;
  font-weight: 800;
}

.about-value-list h3 {
  margin: 42px 0 10px;
  color: var(--about-ink);
  font-family: var(--about-script);
  font-size: 1.45rem;
  line-height: 1.2;
}

.about-value-list p {
  margin: 0;
  color: #705d52;
  font-size: 0.94rem;
}

.about-value-list article:nth-child(2) .about-value-number,
.about-value-list article:nth-child(4) .about-value-number {
  color: var(--about-green);
}

.about-ecosystem {
  padding: 86px 0 96px;
  background: linear-gradient(180deg, rgba(255, 246, 225, 0.3), rgba(252, 232, 198, 0.68));
  border-top: 1px solid var(--about-line);
}

.about-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about-ecosystem-card {
  min-height: 290px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(170, 102, 40, 0.26);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(94, 52, 20, 0.08);
  isolation: isolate;
}

.about-ecosystem-card > img {
  width: 54%;
  height: 100%;
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 72%, transparent 100%);
  transition: transform 400ms ease;
}

.about-ecosystem-card:hover > img {
  transform: scale(1.025);
}

.about-ecosystem-card > span {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--about-red);
  font-size: 0.78rem;
  font-weight: 900;
}

.about-ecosystem-card > div {
  width: 58%;
  min-height: 100%;
  margin-left: auto;
  padding: 52px 28px 30px 46px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), #fff 16%);
}

.about-ecosystem-card h3 {
  margin: 0;
  font-family: var(--about-script);
  font-size: 1.65rem;
  line-height: 1.18;
}

.about-ecosystem-card p {
  margin: 12px 0 18px;
  color: #6d5a50;
  font-size: 0.94rem;
}

.about-ecosystem-card strong {
  color: var(--about-red);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.about-ecosystem-partner > span,
.about-ecosystem-partner strong {
  color: var(--about-green);
}

.about-ecosystem-partner > span {
  color: #fff;
  background: var(--about-green);
}

.about-ecosystem-garut > span {
  background: #d4820a;
}

.about-ecosystem-garut strong {
  color: #bb6800;
}

.about-identity {
  padding: 72px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(76, 30, 20, 0.97), rgba(127, 34, 28, 0.94)),
    url("../assets/images/hero/hero-background-desktop-clean.webp") center / cover no-repeat;
}

.about-identity-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  gap: 52px;
}

.about-identity .about-kicker {
  color: #ffd778;
}

.about-identity h2 {
  color: #fff;
  font-size: clamp(2.25rem, 3.8vw, 4rem);
}

.about-identity p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.about-identity img {
  width: 240px;
  height: 150px;
  object-fit: contain;
}

.about-cta {
  padding: 80px 0 90px;
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.about-cta h2 {
  max-width: 720px;
  font-size: clamp(2.25rem, 3.8vw, 4rem);
}

.about-cta p:last-child {
  margin: 14px 0 0;
  color: #725e52;
}

.about-cta-actions {
  margin-top: 0;
  flex: 0 0 auto;
}

@media (max-width: 1100px) and (min-width: 701px) {
  .about-container,
  .about-hero-inner {
    width: min(100% - 48px, 940px);
  }

  .about-hero {
    min-height: 530px;
  }

  .about-hero-inner {
    grid-template-columns: minmax(300px, 0.8fr) minmax(430px, 1.2fr);
  }

  .about-hero-copy h1 {
    font-size: clamp(2.2rem, 4.7vw, 3.15rem);
  }

  .about-hero-visual {
    min-height: 0;
  }

  .about-story-inner {
    gap: 40px;
  }

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

  .about-value-list article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--about-line);
  }

  .about-value-list article:nth-child(4) {
    border-top: 1px solid var(--about-line);
  }

  .about-ecosystem-card {
    min-height: 320px;
  }

  .about-ecosystem-card > img {
    width: 100%;
    height: 56%;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }

  .about-ecosystem-card > div {
    width: 100%;
    min-height: 49%;
    margin-top: 51%;
    padding: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), #fff 15%);
  }

  .about-cta-inner {
    align-items: flex-end;
  }
}

@media (max-width: 700px) {
  .about-container,
  .about-hero-inner {
    width: min(100% - 32px, 560px);
  }

  .about-section-heading {
    margin-bottom: 26px;
  }

  .about-hero {
    min-height: 0;
    background: var(--about-paper);
  }

  .about-hero-inner {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .about-hero-copy {
    padding: 30px 0 0;
    text-align: center;
  }

  .about-hero-logo {
    width: 104px;
    height: 88px;
    margin: 0 auto 4px;
  }

  .about-eyebrow {
    font-size: 0.7rem;
  }

  .about-hero-copy h1 {
    max-width: 520px;
    margin: 0 auto;
    font-size: clamp(2rem, 8.6vw, 2.75rem);
  }

  .about-hero-lead {
    max-width: 510px;
    margin: 18px auto 0;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .about-hero-actions {
    margin-top: 20px;
    justify-content: center;
  }

  .about-button {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.88rem;
  }

  .about-hero-visual {
    width: 100%;
    min-height: 0;
    position: static;
    margin-top: 4px;
  }

  .about-hero-visual > img {
    width: 100%;
    max-width: none;
  }

  .about-story {
    padding: 58px 0 68px;
  }

  .about-story-inner {
    display: flex;
    flex-direction: column;
    gap: 52px;
  }

  .about-story-visual img {
    aspect-ratio: 1 / 0.86;
  }

  .about-story-visual figcaption {
    width: 88%;
    right: 6%;
    font-size: 0.88rem;
  }

  .about-story-copy h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .about-story-copy > p {
    font-size: 0.95rem;
  }

  .about-story-copy blockquote p {
    font-size: 1.05rem;
  }

  .about-values,
  .about-ecosystem {
    padding: 62px 0;
  }

  .about-value-list {
    grid-template-columns: 1fr;
  }

  .about-value-list article {
    min-height: auto;
    padding: 22px 8px 24px;
  }

  .about-value-list article + article {
    border-top: 1px solid var(--about-line);
    border-left: 0;
  }

  .about-value-list h3 {
    margin-top: 12px;
  }

  .about-ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-ecosystem-card {
    min-height: 430px;
  }

  .about-ecosystem-card > img {
    width: 100%;
    height: 60%;
    object-position: center;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  }

  .about-ecosystem-card > div {
    width: 100%;
    min-height: 46%;
    margin-top: 54%;
    padding: 32px 22px 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), #fff 14%);
  }

  .about-ecosystem-card h3 {
    font-size: 1.5rem;
  }

  .about-identity {
    padding: 56px 0;
  }

  .about-identity-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .about-identity img {
    width: 190px;
    height: 120px;
    margin: 0 auto;
    order: -1;
  }

  .about-cta {
    padding: 58px 0 72px;
  }

  .about-cta-inner {
    display: block;
    text-align: center;
  }

  .about-cta-actions {
    margin-top: 24px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-button,
  .about-ecosystem-card > img {
    transition: none;
  }
}
