/* ============ About page shared styles ============ */
.about-hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}
.about-hero .wrap { position: relative; z-index: 1; }
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-hero h1 .serif-script { font-size: 56px; line-height: 1; display: block; margin-bottom: 6px; }
.about-hero h1 .h-jp { font-size: 56px; line-height: 1.15; display: block; }
.about-hero p.lead {
  margin-top: 26px;
  color: #444;
  font-size: 15px;
  line-height: 2;
}
.about-hero-photo {
  aspect-ratio: 1 / 0.92;
  background: center/cover no-repeat;
  border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%;
}

/* breadcrumb */
.crumbs {
  font-size: 12px;
  color: #888;
  margin: 18px 0 8px;
  display: flex; gap: 10px; align-items: center;
}
.crumbs a:hover { color: var(--red); }
.crumbs span { color: #bbb; }

/* Purpose block */
.purpose {
  background: var(--bg-tint);
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.purpose .label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: .3em;
  font-size: 13px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.purpose .jp {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 44px;
  letter-spacing: .08em;
  line-height: 1.5;
  margin: 0 0 26px;
}
.purpose .en {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  color: #555;
  line-height: 1.5;
}

/* Story block */
.story {
  padding: 110px 0;
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
}
.story h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: .04em;
  margin: 18px 0 24px;
  line-height: 1.4;
}
.story .quote-line {
  display: inline-block;
  font-family: "Allura", cursive;
  color: var(--red);
  font-size: 38px;
  line-height: 1;
  margin-bottom: 0;
}
.story-body p {
  font-size: 14.5px;
  line-height: 2.1;
  color: #333;
  margin: 0 0 18px;
}
.story-body p:last-child { margin-bottom: 0; }
.story-photo {
  aspect-ratio: 1 / 1.05;
  background: center/cover no-repeat;
  border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
}

/* Features */
.features {
  padding: 100px 0;
  background: var(--bg-tint);
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.feature {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.feature .num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .15em;
  color: var(--red);
  margin-bottom: 16px;
}
.feature .ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red-soft);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature .ic svg { width: 26px; height: 26px; color: var(--ink-2); }
.feature h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 17px;
  margin: 0 0 12px;
  line-height: 1.5;
}
.feature p {
  font-size: 13px;
  color: #666;
  line-height: 1.9;
  margin: 0;
}

/* Company info */
.company {
  padding: 110px 0 70px;
}
.company-table {
  max-width: 880px;
  margin: 50px auto 0;
  border-top: 1px solid var(--line);
}
.company-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.85;
}
.company-row dt {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .04em;
}
.company-row dd { margin: 0; color: #333; }
.company-row .small { font-size: 13px; color: #666; display: block; }

.offices {
  margin-top: 70px;
}
.offices-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 30px;
}
.offices-head h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 24px;
  margin: 0;
  letter-spacing: .04em;
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.office {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.office-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  background: #eee center/cover no-repeat;
  position: relative;
}
.office-photo .placeholder-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,.92);
  color: var(--red);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}
.office-body { padding: 22px 24px 26px; position: relative; flex: 1; min-width: 0; }
.office .badge { margin-bottom: 8px; }
.office h4 { font-size: 17px; margin: 0 0 4px; }
.office .en { font-size: 12px; margin-bottom: 10px; }
.office .addr { font-size: 12.5px; line-height: 1.75; }
.office .pin { top: 18px; right: 20px; }
.office .badge {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--red);
  background: var(--red-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.office h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 19px;
  margin: 0 0 6px;
}
.office .en {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  color: var(--red);
  margin-bottom: 14px;
}
.office .addr {
  font-size: 13.5px;
  color: #333;
  line-height: 1.95;
  margin: 0;
}
.office .pin {
  position: absolute;
  top: 22px; right: 24px;
  color: var(--red);
  opacity: .35;
}
.office-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 14px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.office-map:hover { background: var(--red); color: #fff; }
.office-map svg { width: 14px; height: 14px; }

.office-online {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6b7280;
}

/* Language display — switcher UI in main.css */
[data-lang-only="jp"],
[data-lang-only="en"],
[data-lang-only="zh"],
[data-lang-only="vi"] { display: none !important; }
body[data-lang-effective="jp"] [data-lang-only="jp"],
body[data-lang-effective="en"] [data-lang-only="en"],
body[data-lang-effective="zh"] [data-lang-only="zh"],
body[data-lang-effective="vi"] [data-lang-only="vi"] { display: revert !important; }

/* Hero deco red blob mirror */
.about-hero .blob-red-left { top: 320px; }

/* Variation B specifics */
.about-hero-b {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 0;
}
.about-hero-b .hero-cover {
  position: relative;
  height: 560px;
  background: center/cover no-repeat;
}
.about-hero-b .hero-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,15,15,.10), rgba(40,15,15,.55));
}
.about-hero-b .hero-cover .wrap {
  position: absolute; left: 0; right: 0; bottom: 60px;
  z-index: 1;
  color: #fff;
}
.about-hero-b .hero-cover .serif-script { color: #fff; font-size: 56px; display: block; margin-bottom: 10px; }
.about-hero-b .hero-cover h1 { font-size: 64px; margin: 0; color: #fff; letter-spacing: .04em; line-height: 1.1; font-family: "Noto Sans JP", sans-serif; font-weight: 800; }
.about-hero-b .hero-cover .lead { color: rgba(255,255,255,.92); max-width: 580px; margin-top: 24px; line-height: 2; }

.purpose-dark {
  background: var(--red);
  color: #fff;
  padding: 110px 0;
  text-align: center;
}
.purpose-dark .label { color: var(--yellow); }
.purpose-dark .jp { color: #fff; }
.purpose-dark .en { color: rgba(255,255,255,.85); }

/* Story alternating */
.story-alt {
  padding: 110px 0;
}
.story-alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto 80px;
}
.story-alt-row:nth-child(even) { direction: rtl; }
.story-alt-row:nth-child(even) > * { direction: ltr; }
.story-alt-row:last-child { margin-bottom: 0; }
.story-alt-row .photo {
  aspect-ratio: 1 / 0.85;
  background: center/cover no-repeat;
  border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
}
.story-alt-row .copy h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 18px;
  line-height: 1.5;
}
.story-alt-row .copy h3 .acc {
  display: block;
  font-family: "Allura", cursive;
  font-size: 26px;
  font-weight: 400;
  color: var(--red);
  margin-bottom: 4px;
}
.story-alt-row .copy p {
  font-size: 14.5px;
  line-height: 2.1;
  color: #333;
  margin: 0 0 14px;
}

/* Numbered features for variation B */
.features-list {
  max-width: 880px;
  margin: 60px auto 0;
  display: grid;
  gap: 0;
}
.feature-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 36px;
  padding: 36px 12px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row .n {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 56px;
  color: var(--red);
  line-height: 1;
  letter-spacing: -.02em;
}
.feature-row h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 22px;
  margin: 6px 0 12px;
  line-height: 1.5;
}
.feature-row p {
  font-size: 14px;
  color: #555;
  line-height: 1.95;
  margin: 0;
  max-width: 640px;
}

/* Variation selector strip */
.variant-strip {
  background: #1A1A1A;
  color: #fff;
  padding: 14px 0;
  position: sticky; top: 0; z-index: 100;
}
.variant-strip .wrap {
  display: flex; align-items: center; gap: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}
.variant-strip .label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--yellow);
  font-size: 11px;
}
.variant-strip a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}
.variant-strip a:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.variant-strip a.active { background: #fff; color: #1A1A1A; border-color: #fff; }

@media (max-width: 980px) {
  .about-hero-grid, .story-grid, .story-alt-row { grid-template-columns: 1fr; gap: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .company-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .purpose .jp { font-size: 30px; }
  .about-hero h1 .h-jp, .about-hero h1 .serif-script { font-size: 40px; }
  .about-hero-b .hero-cover h1 { font-size: 40px; }
  .feature-row { grid-template-columns: 1fr; gap: 8px; }
  .offices-grid { grid-template-columns: 1fr; gap: 16px; }
  .office-photo { aspect-ratio: 16 / 9; }
}

/* ============ wagaya Advantage section ============ */
.wagaya-advantage {
  padding: 120px 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(159,43,58,.06), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(242,201,76,.10), transparent 45%),
    #fff;
  position: relative;
  overflow: hidden;
}
.wadv-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
}
.wadv-head .eyebrow { display: block; margin-bottom: 18px; }
.wadv-head h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: .03em;
  line-height: 1.4;
  margin: 0 0 22px;
}
.wadv-head h2 .acc { color: var(--red); }
.wadv-head p {
  font-size: 15px;
  color: #444;
  line-height: 2;
  margin: 0;
}

/* Parent-brand strip */
.wadv-parent {
  max-width: 880px;
  margin: 0 auto 60px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.wadv-parent .label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--red);
  background: var(--red-soft);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.wadv-parent .title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 17px;
  flex: 1;
}
.wadv-parent .title .en {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  color: #888;
  font-size: 13px;
  margin-left: 10px;
}
.wadv-parent a.link {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.wadv-parent a.link:hover { text-decoration: underline; }

/* Stats */
.wadv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1080px;
  margin: 0 auto 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wadv-stat {
  text-align: center;
  padding: 36px 16px;
  border-right: 1px solid var(--line);
  position: relative;
}
.wadv-stat:last-child { border-right: 0; }
.wadv-stat .num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--red);
}
.wadv-stat .num .unit {
  font-size: 18px;
  letter-spacing: 0;
  margin-left: 2px;
  font-weight: 700;
}
.wadv-stat .label {
  margin-top: 10px;
  font-size: 12px;
  color: #555;
  letter-spacing: .04em;
  line-height: 1.5;
}
.wadv-stat .sub {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  color: #999;
  letter-spacing: .18em;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Differentiators */
.wadv-diff {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.wadv-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid var(--line);
}
.wadv-card .n {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .25em;
  color: var(--red);
  margin-bottom: 16px;
}
.wadv-card h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.wadv-card h3 .hl {
  background: linear-gradient(transparent 60%, rgba(242,201,76,.45) 60%);
  padding: 0 2px;
}
.wadv-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.95;
  margin: 0;
}

@media (max-width: 980px) {
  .wadv-stats { grid-template-columns: repeat(2, 1fr); }
  .wadv-stat:nth-child(2n) { border-right: 0; }
  .wadv-stat { border-bottom: 1px solid var(--line); }
  .wadv-stat:last-child { border-bottom: 0; }
  .wadv-diff { grid-template-columns: 1fr; }
  .wadv-head h2 { font-size: 28px; }
  .wadv-parent { flex-direction: column; align-items: flex-start; }
}

/* ===== Mobile 768px ===== */
@media (max-width: 768px) {
  .about-hero-b .hero-cover {
    height: min(68vh, 420px);
  }
  .about-hero-b .hero-cover .wrap {
    bottom: 32px;
  }
  .about-hero-b .hero-cover .serif-script {
    font-size: 34px;
    margin-bottom: 8px;
  }
  .about-hero-b .hero-cover h1 {
    font-size: 34px;
    line-height: 1.15;
  }
  .about-hero-b .hero-cover .lead {
    font-size: 14px;
    line-height: 1.85;
    margin-top: 14px;
  }

  .purpose,
  .purpose-dark {
    padding: 64px 0;
  }
  .purpose .jp,
  .purpose-dark .jp {
    font-size: 26px;
    letter-spacing: 0.04em;
    line-height: 1.55;
  }
  .purpose .en,
  .purpose-dark .en {
    font-size: 15px;
  }

  .story-alt {
    padding: 64px 0;
  }
  .story-alt-row {
    gap: 24px;
    margin-bottom: 48px;
  }
  .story-alt-row:nth-child(even) {
    direction: ltr;
  }
  .story-alt-row .copy h3 {
    font-size: 22px;
  }
  .story-alt-row .copy h3 .acc {
    font-size: 22px;
  }
  .story-alt-row .copy p {
    font-size: 13.5px;
    line-height: 1.9;
  }

  .features-list {
    margin-top: 36px;
  }
  .feature-row {
    padding: 24px 8px;
  }
  .feature-row .n {
    font-size: 40px;
  }
  .feature-row h3 {
    font-size: 18px;
  }

  .company {
    padding: 64px 0 48px;
  }
  .wagaya-advantage {
    padding: 64px 0;
  }
  .wadv-head {
    margin-bottom: 40px;
  }
  .wadv-head h2 {
    font-size: 24px;
  }
}

/* ===== Mobile 375px ===== */
@media (max-width: 375px) {
  .about-hero-b .hero-cover {
    height: 340px;
  }
  .about-hero-b .hero-cover .serif-script {
    font-size: 28px;
  }
  .about-hero-b .hero-cover h1 {
    font-size: 28px;
  }
  .about-hero-b .hero-cover .lead {
    font-size: 13px;
  }
  .purpose .jp,
  .purpose-dark .jp {
    font-size: 22px;
  }
}
