/* FFC 关于 FFC V0.1 - page-scoped styles only. */

body:has(.ffc-about-v01) {
  margin: 0 !important;
  padding: 0 !important;
  background: #070a10 !important;
}

body:has(.ffc-about-v01) .wp-site-blocks {
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  background: #070a10 !important;
}

body:has(.ffc-about-v01) .wp-site-blocks > *,
body:has(.ffc-about-v01) .wp-site-blocks > * + * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

body:has(.ffc-about-v01) main,
body:has(.ffc-about-v01) .wp-block-post-content,
body:has(.ffc-about-v01) .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  background: transparent !important;
}

.ffc-about-v01 {
  --about-bg: #070a10;
  --about-panel: rgba(13, 18, 28, 0.86);
  --about-panel-strong: rgba(17, 25, 38, 0.94);
  --about-line: rgba(129, 169, 235, 0.18);
  --about-line-soft: rgba(255, 255, 255, 0.08);
  --about-blue: #5b8def;
  --about-blue-soft: rgba(91, 141, 239, 0.18);
  --about-text: #e8edf6;
  --about-muted: #aab3c2;
  --about-dim: #768295;
  color: var(--about-text);
  background:
    radial-gradient(circle at 15% 0%, rgba(45, 91, 170, 0.22), transparent 34rem),
    radial-gradient(circle at 88% 16%, rgba(91, 141, 239, 0.12), transparent 28rem),
    linear-gradient(180deg, #070a10 0%, #0b0f16 46%, #070a10 100%);
  overflow-x: hidden;
}

.ffc-about-v01 *,
.ffc-about-v01 *::before,
.ffc-about-v01 *::after {
  box-sizing: border-box;
}

.ffc-about-main {
  width: 100%;
  overflow: hidden;
}

.ffc-about-hero {
  position: relative;
  min-height: min(680px, 82vh);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--about-line);
}

.ffc-about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.96) 0%, rgba(5, 8, 13, 0.76) 44%, rgba(5, 8, 13, 0.52) 100%),
    linear-gradient(180deg, rgba(5, 8, 13, 0.18) 0%, rgba(5, 8, 13, 0.92) 100%),
    url('../img/factory-bg.jpg') center / cover no-repeat;
  transform: scale(1.02);
}

.ffc-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(91, 141, 239, 0.13), transparent 28%, transparent 74%, rgba(91, 141, 239, 0.08)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 92px);
  opacity: 0.75;
}

.ffc-about-hero__inner,
.ffc-about-overview,
.ffc-about-spirit,
.ffc-about-cooperation,
.ffc-about-cta {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.ffc-about-hero__inner {
  padding: clamp(92px, 11vw, 148px) 0 clamp(76px, 9vw, 118px);
}

.ffc-about-kicker,
.ffc-about-eyebrow {
  margin: 0 0 16px;
  color: var(--about-blue);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.ffc-about-kicker em {
  color: rgba(232, 237, 246, 0.68);
  font-style: normal;
}

.ffc-about-hero h1 {
  margin: 0;
  max-width: 760px;
  color: #f6f9ff;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 760;
}

.ffc-about-hero__lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(232, 237, 246, 0.84);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.88;
}

.ffc-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ffc-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.42s cubic-bezier(0.4, 0, 0.2, 1), background 0.42s cubic-bezier(0.4, 0, 0.2, 1), color 0.42s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.ffc-about-btn--primary {
  color: #07101f;
  background: linear-gradient(135deg, #7fb2ff 0%, var(--about-blue) 68%, #3f73d0 100%);
  box-shadow: 0 18px 44px rgba(91, 141, 239, 0.32);
}

.ffc-about-btn--ghost {
  color: var(--about-text);
  border: 1px solid rgba(232, 237, 246, 0.26);
  background: rgba(255, 255, 255, 0.045);
}

.ffc-about-btn--ghost:hover {
  border-color: rgba(91, 141, 239, 0.7);
  box-shadow: 0 16px 38px rgba(91, 141, 239, 0.16);
}

.ffc-about-overview,
.ffc-about-spirit,
.ffc-about-cooperation,
.ffc-about-cta {
  margin-top: clamp(62px, 8vw, 104px);
}

.ffc-about-section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.ffc-about-section-head h2,
.ffc-about-spirit h2,
.ffc-about-cta h2 {
  margin: 0;
  color: #f5f8ff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ffc-about-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.ffc-about-profile-card,
.ffc-about-spirit,
.ffc-about-cooperation__main,
.ffc-about-cooperation__side,
.ffc-about-cta {
  border: 1px solid var(--about-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--about-panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
}

.ffc-about-profile-card {
  border-radius: 26px;
  padding: clamp(24px, 4vw, 38px);
}

.ffc-about-profile-card p,
.ffc-about-spirit__copy p,
.ffc-about-cooperation__main p,
.ffc-about-cta p {
  margin: 0;
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.9;
}

.ffc-about-profile-card p + p,
.ffc-about-spirit__copy p + p,
.ffc-about-cooperation__main p + p {
  margin-top: 18px;
}

.ffc-about-profile-visual {
  min-height: 410px;
  border-radius: 26px;
  border: 1px solid var(--about-line-soft);
  background: #ffffff url('../img/about-ffc-logo-fill.jpg') center / cover no-repeat;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  position: relative;
}

.ffc-about-profile-visual::after {
  content: none;
}

.ffc-about-data {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ffc-about-data__item {
  min-height: 120px;
  border-radius: 22px;
  border: 1px solid var(--about-line);
  background: linear-gradient(180deg, rgba(18, 27, 42, 0.96), rgba(11, 16, 25, 0.9));
  padding: 22px;
}

.ffc-about-data__item strong {
  display: block;
  color: #f8fbff;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.ffc-about-data__item span {
  display: block;
  margin-top: 13px;
  color: var(--about-dim);
  font-size: 14px;
}

.ffc-about-spirit {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
  gap: 32px;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 46px);
  position: relative;
  overflow: hidden;
}

.ffc-about-spirit::before {
  content: "";
  position: absolute;
  inset: auto -18% -38% 35%;
  height: 260px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.18), transparent 62%);
}

.ffc-about-spirit__quote,
.ffc-about-spirit__copy {
  position: relative;
  z-index: 1;
}

.ffc-about-spirit blockquote {
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--about-blue);
  color: #f8fbff;
  font-size: clamp(24px, 3.1vw, 38px);
  line-height: 1.42;
  letter-spacing: -0.04em;
  font-weight: 720;
}

.ffc-about-cooperation__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 22px;
}

.ffc-about-cooperation__main,
.ffc-about-cooperation__side {
  border-radius: 26px;
  padding: clamp(24px, 4vw, 38px);
}

.ffc-about-cooperation__side {
  display: grid;
  gap: 14px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(91, 141, 239, 0.12), rgba(255, 255, 255, 0.02)),
    var(--about-panel-strong);
}

.ffc-about-cooperation__side div {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--about-line);
  background: rgba(255, 255, 255, 0.035);
}

.ffc-about-cooperation__side span {
  display: block;
  margin-bottom: 9px;
  color: var(--about-blue);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ffc-about-cooperation__side strong {
  display: block;
  color: #edf4ff;
  font-size: 16px;
  line-height: 1.55;
}

.ffc-about-cta {
  margin-bottom: clamp(64px, 8vw, 110px);
  border-radius: 30px;
  padding: clamp(28px, 4.4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(91, 141, 239, 0.18), rgba(255, 255, 255, 0.02) 42%, rgba(91, 141, 239, 0.08)),
    var(--about-panel-strong);
}

.ffc-about-cta p {
  margin-top: 16px;
  max-width: 790px;
}

.ffc-about-cta .ffc-about-actions {
  margin-top: 0;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .ffc-about-overview__grid,
  .ffc-about-spirit,
  .ffc-about-cooperation__grid,
  .ffc-about-cta {
    grid-template-columns: 1fr;
  }

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

  .ffc-about-profile-visual {
    min-height: 320px;
  }

  .ffc-about-cta .ffc-about-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .ffc-about-hero__inner,
  .ffc-about-overview,
  .ffc-about-spirit,
  .ffc-about-cooperation,
  .ffc-about-cta {
    width: min(100% - 28px, 1160px);
  }

  .ffc-about-hero {
    min-height: auto;
  }

  .ffc-about-hero__inner {
    padding: 84px 0 72px;
  }

  .ffc-about-actions {
    width: 100%;
  }

  .ffc-about-btn {
    width: 100%;
  }

  .ffc-about-data {
    grid-template-columns: 1fr;
  }

  .ffc-about-data__item {
    min-height: auto;
  }

  .ffc-about-profile-card,
  .ffc-about-spirit,
  .ffc-about-cooperation__main,
  .ffc-about-cooperation__side,
  .ffc-about-cta {
    border-radius: 22px;
  }

  .ffc-about-profile-visual {
    min-height: 260px;
    border-radius: 22px;
  }

  .ffc-about-spirit blockquote {
    padding-left: 16px;
  }
}

/* V0.1.1 mobile prelaunch fix: keep approved logo visual visible and remove mobile page gaps. */
.ffc-about-profile-visual {
  background-color: #ffffff !important;
  background-image: url('../img/about-ffc-logo-fill.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
}

@media (max-width: 768px) {
  body:has(.ffc-about-v01),
  body:has(.ffc-about-v01) .wp-site-blocks,
  body:has(.ffc-about-v01) .wp-site-blocks > * {
    background-color: #050b12 !important;
  }

  .ffc-about-v01,
  .ffc-about-main,
  .ffc-about-hero,
  .ffc-about-overview,
  .ffc-about-spirit,
  .ffc-about-cooperation,
  .ffc-about-cta {
    margin-block-start: 0;
  }

  .ffc-about-profile-visual {
    display: block !important;
    min-height: 245px !important;
    background-color: #ffffff !important;
    background-image: url('../img/about-ffc-logo-fill.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
  }
}
