/* Arsh Chavan / Notebook */
:root {
  --accent: #3E7B57;
  --bg: #F3F0E8;
  --sand: #E9E5DA;
  --paper: #FBFAF6;
  --ink: #16150F;
  --body: #4A4839;
  --muted: #6B6858;
  --line: rgba(22, 21, 15, 0.2);
  --line-soft: rgba(22, 21, 15, 0.14);
  --dark: #151613;
  --dark-ink: #EDEAE2;
  --dark-body: rgba(237, 234, 226, 0.78);
  --dark-muted: rgba(237, 234, 226, 0.6);
  --dark-line: rgba(237, 234, 226, 0.14);
  --mint: #8FC3A2;
  --tape: rgba(222, 212, 182, 0.78);
  --error: #A2402E;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --hand: 'Caveat', cursive;
  --gutter: 5vw;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.2s, background 0.3s, border-color 0.3s, padding 0.3s; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 12px; color: var(--bg); }

/* ---------- Type helpers ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
.hand { font-family: var(--hand); }
.it { font-style: italic; }
.accent { color: var(--accent); }
.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.label-sm { font-size: 11px; }
.label-xs { font-size: 10px; }
.pretty { text-wrap: pretty; }
.lead { margin: 0; font-size: 17px; line-height: 1.65; color: var(--body); text-wrap: pretty; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
.h2 { font-size: clamp(44px, 6vw, 96px); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-size: 15px; font-weight: 500;
  padding: 15px 26px; border-radius: 999px; border: none;
  background: var(--ink); color: var(--bg); cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: var(--accent); color: var(--bg); }
.btn-sm { font-size: 14px; padding: 10px 18px; white-space: nowrap; }
.btn-light { background: var(--dark-ink); color: var(--dark); padding: 14px 24px; }
.btn-light:hover { background: var(--mint); color: var(--dark); }
.btn-start { align-self: flex-start; }

.text-link {
  font-size: 15px; font-weight: 500; padding-bottom: 3px;
  border-bottom: 1px solid var(--ink); align-self: flex-start;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; padding: 8px 14px; border: 1px solid rgba(22, 21, 15, 0.22); border-radius: 999px; }
.tag {
  font-family: var(--mono); font-size: 11px; padding: 6px 10px;
  border: 1px solid rgba(237, 234, 226, 0.22); border-radius: 999px;
}

/* ---------- Layout ---------- */
.wrap { max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; }
.section { padding: 160px var(--gutter); }
.grid-paper {
  background-color: var(--bg);
  background-image: linear-gradient(rgba(22, 21, 15, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 21, 15, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
}
.dark {
  background-color: var(--dark); color: var(--dark-ink);
  background-image: linear-gradient(rgba(237, 234, 226, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 234, 226, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
.dark .label { color: var(--dark-muted); }
.dark a:hover { color: var(--mint); }
.dark .btn-light:hover { color: var(--dark); }
.cols { display: flex; flex-wrap: wrap; gap: 64px; }
.col { min-width: 0; display: flex; flex-direction: column; }
.stack { display: flex; flex-direction: column; }

/* ---------- Progress & header ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(243, 240, 232, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 21, 15, 0.08);
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-name { font-family: var(--serif); font-size: 24px; letter-spacing: -0.01em; }
.brand-tag { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.nav {
  display: flex; gap: 28px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh;
  padding: 132px var(--gutter) 56px; display: flex; flex-direction: column;
}
.hero-rule {
  position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) - 22px);
  width: 1px; background: var(--accent); opacity: 0.45;
}
.hero .wrap { width: 100%; flex: 1; gap: 48px; }
.meta-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.hero-main { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; flex: 1; }
.hero-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(64px, 10vw, 164px); line-height: 0.88; letter-spacing: -0.035em; }
.hero-lines {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--serif); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -0.01em;
}
.mark { position: relative; display: inline-block; }
.mark svg { position: absolute; overflow: visible; pointer-events: none; }
.mark-under svg { left: -2%; bottom: -6px; width: 104%; height: 14px; }
.mark-circle svg { left: -7%; top: -18%; width: 114%; height: 136%; }
.hero-intro { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.hero-figure-col { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.hero-figure { position: relative; width: 100%; max-width: 420px; }
.polaroid {
  position: relative; margin: 0; background: var(--paper); padding: 12px 12px 56px;
  box-shadow: 0 1px 2px rgba(22, 21, 15, 0.08), 0 24px 48px -20px rgba(22, 21, 15, 0.35);
}
.polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(0.15) contrast(1.02); }
.polaroid figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.polaroid .hand { font-size: 24px; }
.tape {
  position: absolute; width: 96px; height: 28px; background: var(--tape);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); z-index: 2;
}
.rot-r { transform: rotate(2.5deg); }
.rot-l { transform: rotate(-1.5deg); }
.thats-me {
  position: absolute; left: -128px; top: 18%;
  display: flex; flex-direction: column; align-items: flex-end;
}
.thats-me .hand { font-size: 28px; color: var(--accent); transform: rotate(-6deg); }
.thats-me svg { width: 80px; height: 54px; overflow: visible; margin-right: -30px; }
.specimen {
  position: absolute; right: -8px; bottom: -54px;
  display: flex; align-items: center; gap: 8px;
}
.specimen::before { content: ""; width: 36px; height: 1px; background: var(--muted); }

.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 32px; border-top: 1px solid var(--line); padding-top: 22px;
}
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.flow-item { display: flex; flex-direction: column; gap: 2px; }
.flow-item .hand { font-size: 36px; line-height: 1; }
.flow svg { width: 96px; height: 32px; overflow: visible; }

/* ---------- Intro ---------- */
.intro .wrap { max-width: 1100px; gap: 40px; }
.intro-text { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.18; letter-spacing: -0.015em; text-wrap: pretty; }
.intro-text .w { opacity: 0.16; transition: opacity 0.35s ease; }
.intro-text.no-js .w, .no-motion .intro-text .w { opacity: 1; }
.intro-note { font-size: 30px; color: var(--accent); align-self: flex-end; transform: rotate(-3deg); }

/* ---------- Pillars ---------- */
.pillars { padding: 40px var(--gutter) 160px; }
.pillars .wrap { gap: 48px; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 20px;
}
.section-head h2 { font-size: clamp(40px, 5.5vw, 80px); line-height: 1; letter-spacing: -0.025em; }
.pillar-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  border-left: 1px solid var(--line-soft);
}
.pillar {
  display: flex; flex-direction: column; gap: 18px; padding: 36px 32px 32px;
  border-right: 1px solid var(--line-soft); min-height: 340px;
}
.pillar:hover { background: rgba(22, 21, 15, 0.035); color: var(--ink); }
.pillar-num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.pillar h3 { font-size: 38px; line-height: 1.05; letter-spacing: -0.015em; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); flex: 1; text-wrap: pretty; }
.pillar-cta { font-size: 14px; font-weight: 500; }

/* ---------- Founder ---------- */
.founder .wrap { gap: 72px; }
.founder-head { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-end; }
.founder-head h2 { font-size: clamp(48px, 7vw, 112px); line-height: 0.95; letter-spacing: -0.03em; }
.founder-head p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--dark-body); text-wrap: pretty; }
.founder-head .hand { font-size: 26px; color: var(--mint); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.project {
  display: flex; flex-direction: column; gap: 18px; padding: 36px;
  border: 1px solid var(--dark-line); transition: border-color 0.3s;
}
.project:hover { border-color: rgba(237, 234, 226, 0.4); }
.project-meta { display: flex; justify-content: space-between; gap: 12px; }
.status { display: flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.project h3 { font-size: 40px; line-height: 1.05; letter-spacing: -0.015em; }
.project p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--dark-body); flex: 1; text-wrap: pretty; }
.photo-slot {
  position: relative; margin: 0; min-height: 420px; border: 1px solid var(--dark-line); overflow: hidden; background: #0f100e;
}
.photo-slot video, .photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.slot-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(15, 16, 14, 0.75));
}
.slot-caption .label { color: rgba(237, 234, 226, 0.8); }
.results-figure { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.results-figure img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%;
  border: 1px solid var(--dark-line);
}
.results-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.results-figure .hand { font-size: 26px; color: var(--mint); }
.founder-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  border-top: 1px solid var(--dark-line); padding-top: 28px;
}

/* ---------- Teaching ---------- */
.teaching .wrap, .mentoring .wrap { gap: 72px; }
.teaching-photo { padding: 12px 12px 48px; box-shadow: 0 1px 2px rgba(22, 21, 15, 0.08), 0 24px 48px -24px rgba(22, 21, 15, 0.3); }
.teaching-photo .frame { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.teaching-photo .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; }
.teaching-photo figcaption { position: absolute; left: 16px; bottom: 10px; font-size: 24px; }
.topics-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.topics-head .serif { font-size: 32px; }
.topics-head .hand { font-size: 24px; color: var(--accent); }
.topics { list-style: none; margin: 0; padding: 0; }
.topics li {
  display: flex; align-items: baseline; gap: 24px; padding: 16px 0;
  border-bottom: 1px solid var(--line-soft); transition: padding 0.3s, color 0.3s;
}
.topics li:hover { padding-left: 12px; color: var(--accent); }
.topics .n { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 24px; flex: none; }
.topics .t { font-size: 19px; }

/* ---------- Mentoring ---------- */
.mentoring { padding: 40px var(--gutter) 160px; }
.mentoring .wrap { gap: 64px; border-top: 1px solid var(--line); padding-top: 120px; }
.questions { list-style: none; margin: 0; padding: 0; }
.questions li { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.questions .q-n { font-family: var(--mono); font-size: 12px; color: var(--accent); flex: none; }
.questions .q { font-family: var(--hand); font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.fineprint { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- About ---------- */
.about { background: var(--sand); }
.about .wrap { gap: 72px; }
.about h2 { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -0.03em; display: flex; flex-direction: column; }
.about p { margin: 0; font-size: 18px; line-height: 1.65; text-wrap: pretty; }
.timeline-wrap { position: relative; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 30px; }
.timeline-track, .timeline-fill { position: absolute; left: 7px; top: 10px; width: 1px; }
.timeline-track { bottom: 10px; background: rgba(22, 21, 15, 0.25); }
.timeline-fill { height: 0; background: var(--accent); }
.timeline li { display: flex; gap: 28px; align-items: flex-start; }
.dot {
  flex: none; width: 15px; height: 15px; border-radius: 50%; margin-top: 3px;
  background: var(--sand); border: 1.5px solid var(--ink); position: relative; z-index: 1;
}
.timeline .serif { font-size: 28px; line-height: 1.1; }
.timeline .sub { font-size: 15px; color: var(--body); }

/* ---------- Recognition ---------- */
.recognition .wrap { gap: 56px; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(237, 234, 226, 0.2); }
.ledger li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: baseline;
  padding: 24px 8px; border-bottom: 1px solid var(--dark-line); transition: background 0.3s, padding 0.3s;
}
.ledger li:hover { background: rgba(237, 234, 226, 0.04); padding-left: 20px; }
.ledger .what { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.ledger .name { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.ledger .org { font-size: 15px; color: rgba(237, 234, 226, 0.62); }
.ledger .tag { letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Collaborate ---------- */
.collaborate { padding: 160px var(--gutter) 80px; }
.collaborate .wrap { gap: 56px; }
.mark-meaningful svg { left: 0; bottom: -4px; width: 100%; height: 14px; }
.collab-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft);
}
.collab { display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; background: var(--bg); min-height: 280px; transition: background 0.3s; }
.collab:hover { background: var(--paper); }
.collab h3 { font-size: 32px; line-height: 1.05; }
.collab p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); flex: 1; }
.collab a { font-size: 14px; font-weight: 500; color: var(--accent); }
.collab a:hover { color: var(--ink); }

/* ---------- Contact ---------- */
.contact { padding: 80px var(--gutter) 140px; }
.contact .wrap { flex-direction: row; flex-wrap: wrap; gap: 72px; }
.contact h2 { font-size: clamp(56px, 8vw, 128px); line-height: 0.9; letter-spacing: -0.035em; }
.contact-links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact-links a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.form-card {
  flex: 1 1 520px; min-width: 0; background: var(--paper); padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 1px 2px rgba(22, 21, 15, 0.06), 0 30px 60px -30px rgba(22, 21, 15, 0.3);
  display: flex; flex-direction: column; gap: 28px;
}
.form-card form { display: flex; flex-direction: column; gap: 28px; margin: 0; }
.form-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.form-title .serif { font-size: 32px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
legend { padding: 0; margin-bottom: 12px; }
.topic-chip {
  font: inherit; font-size: 14px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.topic-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); border: none; border-radius: 0;
  border-bottom: 1px solid rgba(22, 21, 15, 0.3); background: transparent; padding: 8px 0; outline: none;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.form-error { font-size: 14px; color: var(--error); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { display: flex; flex-direction: column; gap: 12px; padding: 40px 0; }
.thanks .hand { font-size: 44px; color: var(--accent); }
.thanks p { margin: 0; font-size: 16px; color: var(--body); }
.thanks button {
  align-self: flex-start; background: none; border: none; border-bottom: 1px solid var(--ink);
  padding: 0 0 3px; font: inherit; font-size: 14px; cursor: pointer; margin-top: 12px; color: var(--ink);
}
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 28px var(--gutter); background: var(--dark); color: rgba(237, 234, 226, 0.7);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.site-footer .hand { font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--mint); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav, .thats-me, .specimen { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section, .founder, .teaching, .about, .recognition { padding-top: 104px; padding-bottom: 104px; }
  .pillars, .mentoring { padding-bottom: 104px; }
  .mentoring .wrap { padding-top: 80px; }
  .collaborate { padding-top: 104px; }
  .hero { padding-top: 112px; }
  .hero-rule { display: none; }
  .brand-tag { display: none; }
  .cols, .founder-head, .contact .wrap { gap: 48px; }
  .hero-main { gap: 64px; }
  .pillar, .project { padding: 28px 24px; min-height: 0; }
  .photo-slot { min-height: 280px; }
  .ledger li { grid-template-columns: 1fr; gap: 10px; }
  .ledger .tag { justify-self: start; }
  .flow svg { width: 56px; }
  .hero-figure .polaroid { padding-bottom: 14px; }
  .hero-figure .polaroid figcaption { position: static; margin-top: 12px; padding: 0 4px; }
  .polaroid .hand { font-size: 21px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
