/* =========================================================
   CertiCraft - Landing & About page styles
   ========================================================= */

:root {
  --ink: #0d1629;
  --navy: #1b2a4a;
  --navy-2: #24365e;
  --gold: #c9a24b;
  --gold-light: #e7cd8a;
  --gold-deep: #9c7a2c;
  --cream: #fbf7ee;
  --text: #1f2430;
  --muted: #5b6272;
  --line: #e6e8ee;
  --white: #ffffff;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-script: "Great Vibes", cursive;
  --font-sans: "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 18px;
  --shadow-sm: 0 4px 14px rgba(13, 22, 41, 0.06);
  --shadow-lg: 0 30px 80px rgba(13, 22, 41, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reusable pieces ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid rgba(201, 162, 75, 0.3);
}

.eyebrow--dark {
  color: var(--gold-light);
  background: rgba(231, 205, 138, 0.08);
  border-color: rgba(231, 205, 138, 0.25);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.2);
}

.section {
  padding: 110px 0;
}

.section--cream {
  background: var(--cream);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head h2 {
  margin: 16px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.2;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.gold-text {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

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

.btn-gold {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 30px rgba(201, 162, 75, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 16px 36px rgba(201, 162, 75, 0.45);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-navy {
  color: var(--white);
  background: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-2);
  box-shadow: 0 12px 30px rgba(27, 42, 74, 0.3);
}

.btn .arrow {
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* Scroll-reveal animation (activated by site.js) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   HERO (landing page)
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(201, 162, 75, 0.18), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(60, 90, 160, 0.25), transparent 60%),
    linear-gradient(180deg, #0d1629 0%, #14213d 100%);
  padding: 110px 0 130px;
}

/* Faint grid pattern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  margin: 22px 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero__lead {
  margin: 0 0 36px;
  max-width: 540px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero__lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero__trust li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gold-light);
  font-weight: 700;
}

/* Certificate mock-up shown in the hero */
.hero__visual {
  position: relative;
  perspective: 1400px;
}

.mock-cert {
  position: relative;
  aspect-ratio: 1123 / 794;
  padding: 3.2%;
  border-radius: 6px;
  background: var(--navy);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: rotateY(-10deg) rotateX(4deg);
  transition: transform 0.6s ease;
  animation: float 7s ease-in-out infinite;
}

.hero__visual:hover .mock-cert {
  transform: rotateY(0) rotateX(0);
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.mock-cert__gold {
  height: 100%;
  padding: 1.2%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-light));
}

.mock-cert__paper {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, #fdfaf2 60%, #f3e9d2 100%);
  container-type: inline-size;
}

.mock-cert__paper::before,
.mock-cert__paper::after {
  content: "";
  position: absolute;
  width: 9%;
  aspect-ratio: 1;
  border: 2px solid var(--gold);
}

.mock-cert__paper::before { top: 5%; left: 4%; border-right: 0; border-bottom: 0; }
.mock-cert__paper::after { bottom: 5%; right: 4%; border-left: 0; border-top: 0; }

.mock-cert__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 7.5cqw;
  letter-spacing: 1.3cqw;
  line-height: 1;
}

.mock-cert__sub {
  margin-top: 1.2cqw;
  font-family: var(--font-display);
  font-size: 2.6cqw;
  letter-spacing: 1cqw;
  color: var(--gold);
}

.mock-cert__presented {
  margin-top: 4cqw;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.3cqw;
  color: var(--muted);
}

.mock-cert__name {
  font-family: var(--font-script);
  font-size: 10cqw;
  line-height: 1.2;
}

.mock-cert__rule {
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.mock-cert__footer {
  width: 76%;
  margin-top: 6cqw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 1.7cqw;
  letter-spacing: 0.3cqw;
  text-transform: uppercase;
  color: var(--muted);
}

.mock-cert__footer span {
  width: 28%;
  padding-top: 1cqw;
  border-top: 1px solid var(--text);
}

.mock-cert__seal {
  width: 11cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 4cqw;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Floating badges around the mock-up */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
  animation: float 6s ease-in-out infinite;
}

.float-badge strong {
  display: block;
  font-size: 0.95rem;
}

.float-badge small {
  color: var(--muted);
}

.float-badge__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: var(--cream);
}

.float-badge--top {
  top: -26px;
  right: -10px;
  animation-delay: -2s;
}

.float-badge--bottom {
  bottom: -30px;
  left: -24px;
  animation-delay: -4s;
}

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}

.stats__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stat {
  padding: 30px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat__value {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.stat__value span {
  color: var(--gold);
}

.stat__label {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 75, 0.45);
  box-shadow: 0 24px 50px rgba(13, 22, 41, 0.1);
}

.feature__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 10px 24px rgba(27, 42, 74, 0.25);
}

.feature h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
}

.feature p {
  margin: 0;
  color: var(--muted);
}

/* =========================================================
   TEMPLATES
   ========================================================= */
.templates {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.template-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

/* Last two cards share the bottom row */
.template-card:nth-child(n + 4) {
  grid-column: span 3;
}

.template-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 75, 0.5);
  box-shadow: 0 26px 60px rgba(13, 22, 41, 0.12);
}

.template-card__preview {
  position: relative;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(300px 160px at 70% 20%, rgba(201, 162, 75, 0.22), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%);
}

.template-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 26px;
}

.template-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.template-card h3 {
  margin: 8px 0 8px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
}

.template-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.97rem;
}

.template-card__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--navy);
}

.template-card__link .arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.template-card:hover .template-card__link .arrow {
  transform: translateX(4px);
}

/* Miniature document illustrations */
.mini-doc {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #fdfaf2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.template-card:hover .mini-doc {
  transform: translateY(-4px) scale(1.03);
}

.mini-doc--landscape {
  width: 220px;
  height: 152px;
  padding: 18px 26px;
}

.mini-doc--portrait {
  z-index: 1;
  width: 126px;
  height: 172px;
  padding: 16px 14px;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  background: #ffffff;
}

.mini-doc--back {
  position: absolute;
  z-index: 0;
  transform: translate(22px, 10px) rotate(6deg);
  opacity: 0.55;
}

.template-card:hover .mini-doc--back {
  transform: translate(28px, 8px) rotate(9deg);
}

.mini-doc--framed {
  outline: 6px solid var(--gold);
  outline-offset: -12px;
  border: 8px solid #1b2a4a;
}

.mini-doc--side {
  align-items: flex-start;
  padding-left: 56px;
  background: linear-gradient(90deg, #1b2a4a 0 34px, var(--gold) 34px 38px, #ffffff 38px);
}

.mini-doc--corners {
  background:
    linear-gradient(135deg, #1b2a4a 0 18%, var(--gold) 18% 20%, transparent 20%),
    linear-gradient(315deg, #1b2a4a 0 18%, var(--gold) 18% 20%, transparent 20%),
    #fdfaf2;
}

.mini-doc i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #d5d9e0;
}

.mini-doc .mini-title {
  width: 60%;
  height: 10px;
  background: #1b2a4a;
}

.mini-doc .mini-script {
  width: 72%;
  height: 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #2c3e66, #1b2a4a);
  opacity: 0.85;
}

.mini-doc .mini-line {
  width: 64%;
}

.mini-doc .mini-line.short {
  width: 40%;
}

.mini-doc .mini-line.gold {
  background: var(--gold);
}

.mini-doc--portrait .mini-line {
  width: 100%;
}

.mini-doc--portrait .mini-line.short {
  width: 60%;
}

.mini-doc .mini-head {
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1b2a4a 0 26%, transparent 26% 58%, #d5d9e0 58%);
  border-bottom: 3px solid var(--gold);
}

.mini-doc .mini-table {
  height: 40px;
  border-radius: 2px;
  background:
    repeating-linear-gradient(180deg, #eef0f4 0 9px, #ffffff 9px 10px),
    #eef0f4;
  border: 1px solid #e3e6ec;
}

.mini-doc .mini-table.tall {
  height: 58px;
}

.mini-doc .mini-grid {
  height: 26px;
  border-radius: 2px;
  background: linear-gradient(90deg, #eef0f4 0 62%, transparent 62% 66%, #1b2a4a 66%);
}

.mini-doc .mini-net {
  height: 18px;
  border-radius: 3px;
  background: #f4ead2;
  border: 1px solid #e3d1a2;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
}

/* Dotted connector line behind the step numbers */
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  border-top: 2px dashed rgba(201, 162, 75, 0.45);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 10px;
}

.step__num {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  background: var(--navy);
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold), 0 14px 30px rgba(27, 42, 74, 0.25);
}

.step h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
}

.step p {
  margin: 0 auto;
  max-width: 300px;
  color: var(--muted);
}

.center-cta {
  margin-top: 56px;
  text-align: center;
}

/* =========================================================
   USE CASES
   ========================================================= */
.uses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.use {
  padding: 28px 24px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%);
  position: relative;
  overflow: hidden;
}

.use::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.35), transparent 70%);
}

.use__icon {
  font-size: 1.8rem;
}

.use h3 {
  margin: 14px 0 8px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.use p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
}

/* =========================================================
   FOUNDER SPOTLIGHT (landing page)
   ========================================================= */
.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.founder__photo {
  position: relative;
  isolation: isolate;
}

.founder__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 66% 30%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

/* Gold offset frame behind the photo */
.founder__photo::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--gold);
  border-radius: 24px;
  z-index: -1;
}

.founder__badge {
  position: absolute;
  left: -20px;
  bottom: 40px;
  padding: 16px 20px;
  border-radius: 14px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 18px 40px rgba(13, 22, 41, 0.35);
}

.founder__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-light);
  line-height: 1;
}

.founder__badge small {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.founder blockquote {
  position: relative;
  margin: 48px 0 26px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  line-height: 1.4;
  color: var(--ink);
}

.founder blockquote::before {
  content: "\201C";
  position: absolute;
  left: -8px;
  top: -56px;
  font-size: 6rem;
  color: rgba(201, 162, 75, 0.3);
  font-family: var(--font-serif);
}

.founder__name {
  font-family: var(--font-script);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--navy);
}

.founder__role {
  margin: 6px 0 30px;
  color: var(--muted);
  font-weight: 500;
}

.founder p.founder__text {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  color: var(--gold-deep);
  border: 1px solid rgba(201, 162, 75, 0.4);
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--white);
  background: var(--gold);
}

.faq details p {
  margin: 0;
  padding: 0 60px 24px 4px;
  color: var(--muted);
}

/* =========================================================
   FINAL CALL-TO-ACTION BAND
   ========================================================= */
.cta-band {
  padding: 0 0 110px;
}

.cta-band__box {
  position: relative;
  overflow: hidden;
  padding: 80px 40px;
  border-radius: 28px;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(201, 162, 75, 0.28), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%);
}

.cta-band__box h2 {
  margin: 0 auto 16px;
  max-width: 720px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.cta-band__box p {
  margin: 0 auto 34px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(800px 500px at 80% 30%, rgba(201, 162, 75, 0.16), transparent 60%),
    linear-gradient(180deg, #0d1629 0%, #14213d 100%);
  padding: 90px 0 100px;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-hero h1 {
  margin: 20px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.05;
}

.about-hero__role {
  margin: 0 0 24px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold-light);
}

.about-hero__lead {
  margin: 0 0 34px;
  max-width: 560px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.72);
}

.about-hero__photo {
  position: relative;
}

.about-hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: 66% 25%;
  border-radius: 28px;
  border: 1px solid rgba(231, 205, 138, 0.3);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.about-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 22, 41, 0.75));
}

.about-hero__caption {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.about-hero__caption strong {
  display: block;
  font-family: var(--font-script);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}

.about-hero__caption small {
  color: rgba(255, 255, 255, 0.75);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--gold-light);
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f9d55;
  box-shadow: 0 0 0 3px rgba(31, 157, 85, 0.25);
}

/* Quick facts row */
.facts {
  position: relative;
  z-index: 2;
  margin-top: -50px;
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fact {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.fact__icon {
  font-size: 1.5rem;
}

.fact strong {
  display: block;
  margin: 10px 0 4px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
}

.fact span {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Story */
.story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.story__aside {
  position: sticky;
  top: 110px;
}

.story__aside h2 {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  color: var(--ink);
}

.story__body p {
  margin: 0 0 22px;
  font-size: 1.1rem;
  color: #3d4352;
}

.story__body p:first-child::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  font-family: var(--font-serif);
  font-size: 4.4rem;
  line-height: 0.8;
  color: var(--gold);
}

.story__body .pull-quote {
  margin: 36px 0;
  padding: 26px 30px;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}

/* Journey timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
}

.milestone {
  position: relative;
  width: 50%;
  padding: 0 48px 50px 0;
}

.milestone:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 50px 48px;
}

.milestone::before {
  content: "";
  position: absolute;
  top: 26px;
  right: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}

.milestone:nth-child(even)::before {
  right: auto;
  left: -9px;
}

.milestone__card {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.milestone__tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-deep);
}

.milestone h3 {
  margin: 6px 0 8px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
}

.milestone p {
  margin: 0;
  color: var(--muted);
}

.milestone--future .milestone__card {
  color: var(--white);
  background: linear-gradient(160deg, var(--navy), var(--ink));
  border-color: transparent;
}

.milestone--future h3 {
  color: var(--gold-light);
}

.milestone--future p {
  color: rgba(255, 255, 255, 0.72);
}

/* Skills */
.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-group {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}

.skill-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
}

.skill-group h3 span {
  font-size: 1.4rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  background: #f1f3f8;
  border: 1px solid var(--line);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover {
  color: var(--ink);
  background: rgba(201, 162, 75, 0.15);
  border-color: rgba(201, 162, 75, 0.45);
}

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value {
  padding: 30px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.value__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.value h3 {
  margin: 10px 0 8px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--ink);
}

.value p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Vision */
.vision {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(700px 400px at 50% 100%, rgba(201, 162, 75, 0.22), transparent 70%),
    linear-gradient(180deg, #0d1629 0%, #14213d 100%);
}

.vision h2 {
  margin: 20px auto 22px;
  max-width: 860px;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.2;
}

.vision p {
  margin: 0 auto 18px;
  max-width: 720px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.75);
}

.vision__signature {
  margin-top: 34px;
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--gold-light);
}

/* Connect */
.connect {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.connect a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 18px 24px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.connect a:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(13, 22, 41, 0.12);
}

.connect__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
}

.connect__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.connect strong {
  display: block;
  font-size: 1rem;
}

.connect small {
  color: var(--muted);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .features,
  .skills,
  .templates {
    grid-template-columns: repeat(2, 1fr);
  }

  .template-card,
  .template-card:nth-child(n + 4) {
    grid-column: span 1;
  }

  .template-card:last-child {
    grid-column: 1 / -1;
  }

  .uses,
  .values,
  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 70px 0 120px;
  }

  .hero__grid,
  .about-hero__grid,
  .founder,
  .story {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 560px;
    margin: 30px auto 0;
    width: 100%;
  }

  .about-hero__photo {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }

  .founder {
    gap: 60px;
  }

  .founder__photo {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .story__aside {
    position: static;
  }

  .stats__card {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .steps::before {
    display: none;
  }

  /* Timeline becomes single-sided */
  .timeline::before {
    left: 9px;
  }

  .milestone,
  .milestone:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 36px 44px;
  }

  .milestone::before,
  .milestone:nth-child(even)::before {
    left: 0;
    right: auto;
  }
}

@media (max-width: 600px) {
  .templates,
  .features,
  .skills,
  .uses,
  .values,
  .facts__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions .btn,
  .about-hero .btn {
    width: 100%;
  }

  .float-badge--top {
    right: 0;
  }

  .float-badge--bottom {
    left: 0;
  }

  .founder__badge {
    left: 12px;
  }

  .faq details p {
    padding-right: 4px;
  }

  .cta-band__box {
    padding: 60px 24px;
  }
}
