/* ==========================================================================
   About page (about.html) + 404 page (404.html, .nf-* classes)
   Extends style.css; only page-specific layout lives here.
   ========================================================================== */

/* ---------- Story / intro ---------- */
.intro-copy { display: flex; flex-direction: column; gap: 22px; }
.intro-copy .row { margin-top: 8px; gap: 24px; }
.intro-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.intro-media { position: relative; padding: 0 0 80px 0; }
.intro-main { aspect-ratio: 4 / 3.6; box-shadow: var(--shadow); }
.intro-inset {
  position: absolute; right: -16px; bottom: 0;
  width: 46%; aspect-ratio: 1;
  border: 8px solid var(--bg); border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.intro-badge {
  position: absolute; left: 20px; bottom: 104px;
  display: flex; align-items: center; gap: 12px;
  max-width: 270px; padding: 14px 18px 14px 14px;
  border-radius: 14px;
  background: rgba(28, 20, 12, .82); color: var(--white);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(252, 217, 160, .14);
}
.intro-badge-ic { width: 42px; height: 42px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--rust); color: var(--cream); }
.intro-badge-ic svg { width: 22px; height: 22px; }
.intro-badge strong { display: block; font-size: 15px; color: var(--cream); font-weight: 600; }
.intro-badge span span { display: block; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .78); margin-top: 2px; }

.about-statement { margin: 110px 0 90px; }
.about-metrics .metric p { font-size: 15px; max-width: 240px; }

/* ---------- Founder's message ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 90px; align-items: center; }
.founder-card .media { aspect-ratio: 4 / 5; border: 1px solid var(--line-dark); }
.founder-card .initials { font-size: clamp(88px, 10vw, 132px); background: linear-gradient(150deg, var(--brown) 0%, var(--rust) 70%, var(--rust-400) 100%); }
.founder-card .media .founder-mark { position: absolute; left: 22px; bottom: 22px; width: 40px; height: auto; opacity: .9; z-index: 1; }
.founder-card:hover .media img.founder-mark { transform: none; }
.founder-id { display: flex; flex-direction: column; gap: 4px; }
.founder-id h4 { font-size: 24px; }
.on-dark .founder-card span { color: var(--cream); font-size: 15px; }

.founder-quote { display: flex; flex-direction: column; gap: 26px; }
.founder-quote .qmark { width: 54px; height: 54px; color: var(--rust-400); }
.founder-quote blockquote { display: flex; flex-direction: column; gap: 18px; }
.founder-quote blockquote p { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .74); }
.founder-quote blockquote p:first-child { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.38; letter-spacing: -0.02em; font-weight: 500; color: var(--white); }
.founder-sign { display: flex; align-items: center; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.founder-sign .avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--rust), var(--brown)); color: var(--cream); font-weight: 700; letter-spacing: .02em; }
.founder-sign strong { display: block; color: var(--white); font-weight: 600; }
.founder-sign span span { font-size: 14px; color: rgba(255, 255, 255, .6); }

/* ---------- Mission & vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr .82fr 1fr; gap: 30px; align-items: stretch; }
.mv-card { padding: 40px 36px; gap: 18px; }
.mv-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
.mv-media { min-height: 420px; }
.check-list { display: grid; gap: 12px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.check-list li::before {
  content: ""; width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 50%;
  background: rgba(160, 78, 18, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' stroke='%23a04e12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Why choose us (dark) ---------- */
.on-dark .section-head--split > div:last-child { gap: 26px; max-width: 460px; align-items: flex-start; }
.on-dark .feature-card h5 { color: var(--white); }
.on-dark .feature-card p { color: rgba(255, 255, 255, .66); }

/* ---------- Process ---------- */
.section-head--split > p { max-width: 460px; }
.step h5 { font-size: 20px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.faq-head { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 22px; }
.faq-contact { display: grid; gap: 12px; margin-top: 8px; }
.faq-contact a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 14px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  font-weight: 600; color: var(--title);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.faq-contact a:hover { border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow); }
.faq-contact small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.fc-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--rust); }
.fc-ic svg { width: 20px; height: 20px; }
.acc-a a { color: var(--rust); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive (about) ---------- */
@media (max-width: 1080px) {
  .founder { gap: 56px; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
  .mv-grid { grid-template-columns: 1fr 1fr; }
  .mv-media { grid-column: 1 / -1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 7; }
}
@media (max-width: 900px) {
  .intro-inset { right: 0; }
  .about-statement { margin: 80px 0 64px; }
  .founder { grid-template-columns: 1fr; gap: 44px; }
  .founder-card { max-width: 340px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 44px; }
  .faq-head { position: static; }
}
@media (max-width: 640px) {
  .intro-media { padding-bottom: 60px; }
  .intro-badge { left: 12px; top: 12px; bottom: auto; max-width: 230px; padding: 10px 12px 10px 10px; gap: 10px; }
  .intro-badge-ic { width: 34px; height: 34px; }
  .intro-badge strong { font-size: 14px; }
  .intro-badge span span { font-size: 12px; }
  .intro-inset { width: 42%; border-width: 6px; }
  .mv-grid { grid-template-columns: 1fr; }
  .mv-media { aspect-ratio: 16 / 10; }
  .mv-card { padding: 30px 24px; }
  .founder-card { max-width: none; }
  .founder-card .media { aspect-ratio: 16 / 11; }
}

/* ==========================================================================
   404 page
   ========================================================================== */
.nf {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 170px 0 150px; text-align: center;
  background: var(--brown-deep); color: var(--white);
}
.nf::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(160, 78, 18, .32), transparent 70%),
    linear-gradient(rgba(252, 217, 160, .045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(252, 217, 160, .045) 1px, transparent 1px) 0 0 / 56px 56px;
}
.nf::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--brown-deep));
}
.nf-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 720px; }
.nf-code {
  display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 22px);
  font-size: clamp(120px, 24vw, 280px); font-weight: 800; line-height: .82; letter-spacing: -0.06em;
  user-select: none;
}
.nf-code > span {
  color: transparent;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(252, 217, 160, .55) 55%, rgba(192, 104, 42, .25) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.nf-code img {
  height: .84em; width: auto;
  filter: drop-shadow(0 24px 40px rgba(160, 78, 18, .45));
  animation: nfFloat 5s ease-in-out infinite;
}
@keyframes nfFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.nf h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 52px); }
.nf p { color: rgba(255, 255, 255, .74); font-size: 18px; max-width: 560px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.nf-links a {
  padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05);
  transition: background .3s, color .3s, border-color .3s;
}
.nf-links a:hover { background: var(--cream); color: var(--brown-deep); border-color: var(--cream); }
.nf-tape {
  position: absolute; left: -5%; right: -5%; bottom: 46px; z-index: 0;
  transform: rotate(-2.5deg);
  background: var(--cream); color: var(--brown-deep);
  padding: 10px 0; overflow: hidden; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
}
.nf-tape::before, .nf-tape::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(45deg, var(--rust) 0 12px, var(--brown-deep) 12px 24px);
}
.nf-tape::before { top: 0; }
.nf-tape::after { bottom: 0; }
.nf-tape-track { display: inline-flex; gap: 40px; padding: 6px 0; font-size: 14px; font-weight: 700; letter-spacing: .22em; animation: marquee 30s linear infinite; }
@media (max-width: 640px) {
  .nf { padding: 140px 0 130px; }
  .nf p { font-size: 16px; }
  .nf .hero-actions { flex-direction: column; align-items: center; }
  .nf-tape { bottom: 30px; }
}
