/* About page. Builds on style.css tokens and components. */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&display=swap');

.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
header nav a[aria-current=page]{color:var(--blue)}
header nav a[aria-current=page]:after{width:100%}
.peach-icon{background:#ffe0c7;color:#9a4b14}
.sky-icon{background:#cfeaf3;color:#155a72}

/* Hero */
.about-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:70px;align-items:center;padding-top:50px;padding-bottom:84px}
.about-hero-copy{min-width:0}
.about-hero .eyebrow{display:flex;gap:10px;align-items:center;margin-bottom:26px;letter-spacing:.07em}
.about-hero .mini-icon .icon{width:20px;height:20px}
.about-hero h1{font-size:clamp(3rem,5vw,4.75rem)}
.about-hero-copy>p{font-size:1.13rem;max-width:480px;line-height:1.65;margin-top:25px}
.about-hero-copy .hero-detail{font-size:1rem;color:var(--muted);margin-top:12px;max-width:470px}
.about-hero .text-link .icon{width:20px}

.about-hero-art{position:relative;padding:20px 0;min-width:0}
.arch{aspect-ratio:1/1.08;background:var(--blue);border-radius:150px 150px 36px 36px;transform:rotate(2deg);display:grid;place-items:center;padding:12% 9% 9%;position:relative;overflow:hidden}
.arch:before{content:'';position:absolute;width:62%;aspect-ratio:1;border-radius:50%;background:#3a6af2;top:-14%;right:-16%}
.answer-page{position:relative;width:100%;background:#fffdf6;border-radius:14px;padding:26px 26px 22px;transform:rotate(-5deg);box-shadow:10px 12px 0 #153dc4}
.page-head{display:flex;justify-content:space-between;font-size:.75rem;font-weight:700;letter-spacing:.06em;color:var(--muted);border-bottom:2px solid #f0d9d4;padding-bottom:10px;margin-bottom:14px}
.page-question{font-family:Manrope,sans-serif;font-weight:700;font-size:1rem;line-height:1.4;letter-spacing:-.02em}
.handwriting{font-family:Caveat,cursive;font-size:1.75rem;line-height:1.3;color:#24408f;margin-top:12px}
.handwriting mark{background:linear-gradient(transparent 55%,var(--yellow) 55%);color:inherit;padding:0 2px}
.handwriting .m2{background:linear-gradient(transparent 55%,#c6f1d9 55%)}
.page-lines{height:54px;margin-top:6px;background:repeating-linear-gradient(transparent 0 26px,#dfe6f3 26px 27px)}
.page-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.page-tags span{display:flex;align-items:center;gap:6px;font-size:.8rem;font-weight:600;background:#edf3ff;color:var(--blue);border-radius:100px;padding:7px 12px}
.page-tags .icon{width:15px;height:15px}
.about-hero-art .card-top{top:16px;left:-36px}
.about-hero-art .card-bottom{bottom:16px;right:-20px}

/* Fact band */
.fact-band{background:var(--yellow)}
.fact-band-inner{display:flex;align-items:center;justify-content:center;gap:20px 48px;padding-top:22px;padding-bottom:22px;flex-wrap:wrap}
.fact{display:flex;align-items:center;gap:10px}
.fact>span{color:#685300}
.fact p{font-size:1rem}
.fact strong{font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-.03em;font-size:1.15rem}
.fact-note{font-size:.75rem;color:#5c4a00}

/* Why we started */
.why{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center;padding-top:100px;padding-bottom:100px}
.why h2{margin:20px 0 24px}
.why-copy>p:not(.eyebrow){color:var(--muted);max-width:520px}
.why-copy>p+p{margin-top:16px}
.why .text-link{margin-top:26px}
.why .text-link .icon{width:20px}
.compare{background:white;border-radius:25px;box-shadow:10px 12px 0 #dce6fc;padding:26px;transform:rotate(1deg);display:grid;grid-template-columns:.8fr 1.2fr;gap:14px}
.compare small{display:block;font-size:.75rem;font-weight:800;letter-spacing:.08em;margin-bottom:12px}
.compare-old{background:#f4f6fa;border-radius:16px;padding:20px}
.compare-old small{color:var(--muted)}
.score{font-family:Manrope,sans-serif;font-weight:800;font-size:4rem;letter-spacing:-.07em;line-height:1;color:#8a95a3;margin-top:22px}
.score span{font-size:1.1rem;letter-spacing:0;font-weight:600}
.compare-old p{font-size:.875rem;color:var(--muted);margin-top:14px;line-height:1.5}
.compare-new{background:#edf3ff;border-radius:16px;padding:20px}
.compare-new small{color:var(--blue)}
.signal{display:flex;gap:12px;align-items:center;margin-top:12px}
.signal .icon-box{width:36px;height:36px;border-radius:11px}
.signal .icon{width:18px;height:18px}
.signal p{font-size:.875rem;line-height:1.45;font-weight:500}
.compare-note{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:.75rem;color:var(--muted);border-top:1px solid #e9edf3;padding-top:14px;margin-top:4px}
.compare-note .icon{width:16px;height:16px}

/* Story timeline */
.story-section{background:#edf3ff;padding:96px 0}
.story{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px;align-items:start}
.story-head{position:sticky;top:40px}
.story-head h2{margin:20px 0}
.story-head>p:not(.eyebrow){color:var(--muted);max-width:360px}
/* --rail is the line's centre, --pad the indent of each item. Dots are placed from both so they always sit on the line. */
.timeline{--rail:10px;--pad:34px;list-style:none;margin:0;padding:0 0 0 var(--pad);position:relative}
.timeline:before{content:'';position:absolute;left:calc(var(--rail) - 1px);top:10px;bottom:30px;border-left:2px dashed #a9bdf2}
.timeline li{position:relative;padding:0 0 34px}
.timeline li:before{content:'';box-sizing:border-box;position:absolute;left:calc(var(--rail) - var(--pad) - 10px);top:1px;width:20px;height:20px;border-radius:50%;background:#edf3ff;border:3px solid var(--blue)}
.timeline time,.timeline .when{display:block;font-family:Manrope,sans-serif;font-size:.875rem;font-weight:800;color:var(--blue);letter-spacing:-.01em}
.timeline h3{font-size:1.35rem;margin:4px 0 6px}
.timeline p{color:var(--muted);font-size:.95rem;max-width:560px}
.timeline .now{background:var(--blue);color:white;border-radius:22px;padding:24px 26px;margin:0 0 30px;box-shadow:8px 9px 0 #c3d3fb}
.timeline .now:before{top:25px;background:var(--yellow);border-color:var(--yellow);box-shadow:0 0 0 5px #edf3ff}
.timeline .now time{color:var(--yellow)}
.timeline .now p{color:#e2eaff}
.timeline .next{outline:2px dashed #a9bdf2;outline-offset:-2px;border-radius:22px;padding:22px 26px}
.timeline .next:before{top:23px;border-style:dashed;background:#edf3ff}

/* Beliefs */
.beliefs-section{background:var(--blue);color:white;padding:96px 0}
.beliefs{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:center}
.beliefs h2{margin:20px 0}
.beliefs-head>p:not(.eyebrow){color:#e2eaff;max-width:440px}
.belief-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.belief{background:var(--paper);color:var(--ink);border-radius:22px;padding:24px}
.belief:nth-child(1){transform:rotate(-1.5deg)}
.belief:nth-child(2){transform:rotate(1deg) translateY(14px)}
.belief:nth-child(3){transform:rotate(1deg)}
.belief:nth-child(4){transform:rotate(-1deg) translateY(14px)}
.belief h3{font-size:1.2rem;margin:18px 0 6px}
.belief p{font-size:.9rem;color:var(--muted);line-height:1.6}

/* Manipur */
.manipur{display:grid;grid-template-columns:1.1fr .9fr;gap:80px;align-items:center;padding-top:100px;padding-bottom:100px}
.manipur h2{margin:20px 0 22px}
.manipur-copy>p:not(.eyebrow){color:var(--muted);max-width:560px}
.manipur-copy>p+p{margin-top:16px}
.manipur-note{margin:0;background:#ffede1;border-radius:26px;padding:34px;transform:rotate(-2deg);box-shadow:9px 10px 0 #f8d6bd}
.manipur-note .icon-box{color:#b64d47}
.manipur-note blockquote{margin:22px 0 16px;font-family:Manrope,sans-serif;font-weight:700;font-size:1.55rem;line-height:1.35;letter-spacing:-.035em}
.manipur-note figcaption{font-size:.875rem;color:#8a5a3a}

/* Team */
.team-section{padding:20px 0 100px}
.founders{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.founder{background:#f0f3fc;border-radius:22px;padding:28px;display:flex;flex-direction:column;gap:24px}
.founder:nth-child(2){background:#ffede1}
.founder:nth-child(3){background:#e3f3f8}
.founder-mark{width:84px;height:84px;border-radius:42px 42px 16px 16px;background:var(--blue);color:white;display:grid;place-items:center;font-family:Manrope,sans-serif;font-weight:800;font-size:1.7rem;letter-spacing:-.06em}
.founder:nth-child(2) .founder-mark{background:var(--ink);color:var(--yellow)}
.founder:nth-child(3) .founder-mark{background:var(--yellow);color:var(--ink)}
.founder-role{font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--blue)}
.founder h3{margin:6px 0 10px}
.founder p:last-child{font-size:.92rem;color:var(--muted);line-height:1.65}

/* Footer links */
.footer-links a[aria-current=page]{color:var(--blue)}

@media(max-width:1100px){
 .about-hero{gap:40px}
 .about-hero-art .card-top{left:-14px}
 .about-hero-art .card-bottom{right:-8px}
 .why,.manipur,.beliefs{gap:50px}
 .story{gap:50px}
 .founders{grid-template-columns:1fr 1fr}
 .founder:nth-child(3){grid-column:1/-1;flex-direction:row;align-items:center}
 .founder:nth-child(3) .founder-mark{flex-shrink:0}
}
@media(max-width:760px){
 .about-hero{grid-template-columns:1fr;padding-top:24px;padding-bottom:50px;gap:40px}
 .about-hero h1{font-size:clamp(2.6rem,11vw,4rem)}
 .about-hero-copy>p{font-size:1.07rem;margin-top:20px}
 .about-hero-art{width:88%;max-width:440px;margin:auto}
 .arch{aspect-ratio:auto;border-radius:110px 110px 30px 30px;padding:70px 8% 72px}
 .answer-page{padding:18px 18px 16px;box-shadow:7px 8px 0 #153dc4}
 .page-question{font-size:.9rem}
 .handwriting{font-size:1.45rem}
 .page-lines{height:28px}
 .about-hero-art .card-top{left:-22px;top:4px}
 .about-hero-art .card-bottom{right:-18px;bottom:0}
 .fact-band-inner{flex-direction:column;align-items:flex-start;gap:10px;padding-top:20px;padding-bottom:20px}
 .why,.manipur{grid-template-columns:1fr;gap:40px;padding-top:60px;padding-bottom:60px}
 .compare{grid-template-columns:1fr;transform:none;box-shadow:6px 7px 0 #dce6fc;padding:20px}
 .score{margin-top:10px;font-size:3.2rem}
 .story-section,.beliefs-section{padding:60px 0}
 .story,.beliefs{grid-template-columns:1fr;gap:34px}
 .story-head{position:static}
 .timeline{--pad:30px}
 .timeline .now,.timeline .next{padding:20px}
 .timeline .now:before,.timeline .next:before{top:21px}
 .belief-grid{grid-template-columns:1fr}
 .belief:nth-child(n){transform:none}
 .manipur-note{transform:none;padding:26px}
 .manipur-note blockquote{font-size:1.3rem}
 .team-section{padding:0 0 60px}
 .founders{grid-template-columns:1fr;gap:14px}
 .founder,.founder:nth-child(3){flex-direction:row;align-items:flex-start;grid-column:auto;gap:18px;padding:22px}
 .founder-mark{width:60px;height:60px;border-radius:30px 30px 12px 12px;font-size:1.25rem;flex-shrink:0}
}
