/* ========================================
   GARIMA TYAGI — v13
   B&W minimal. Notion content. Doodles.
   ======================================== */

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

:root {
  --font: 'IBM Plex Mono', monospace;
  --black: #111;
  --grey: #555;
  --light: #888;
  --border: #ddd;
  --bg: #fff;
  --max-w: 720px;
}

::selection { background: var(--black); color: var(--bg); }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* Theme toggle */
.theme-toggle {
  background: none; border: 1px solid var(--border); border-radius: 50%;
  width: 28px; height: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); transition: all 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--black); border-color: var(--black); }

/* Dark mode */
[data-theme="dark"] {
  --black: #e0ddd8;
  --grey: #9a9590;
  --light: #5e5a55;
  --border: #2c2924;
  --bg: #1a1814;
}
[data-theme="dark"] body { background: var(--bg); color: var(--black); }
[data-theme="dark"] .nav { background: var(--bg); }
[data-theme="dark"] .mobile-menu { background: var(--bg); }
[data-theme="dark"] .toggle-item { border-bottom-color: #241f1a; }
[data-theme="dark"] .tool-entry { border-bottom-color: #241f1a; }
[data-theme="dark"] .also-built { border-top-color: #241f1a; }
[data-theme="dark"] .chatbox { border-color: var(--border); background: #1e1a15; }
[data-theme="dark"] .chatbox-messages { background: #1e1a15; }
[data-theme="dark"] .chatbox-welcome { color: var(--light); }
[data-theme="dark"] .chat-msg--user { background: #e0ddd8; color: #1a1814; }
[data-theme="dark"] .chat-msg--bot { background: #2c2924; color: var(--black); }
[data-theme="dark"] .chat-msg--loading { background: #2c2924; color: var(--light); }
[data-theme="dark"] .chatbox-chips { border-top-color: var(--border); }
[data-theme="dark"] .chatbox-input { background: #221e19; border-top-color: var(--border); }
[data-theme="dark"] .chatbox-input input { color: var(--black); }
[data-theme="dark"] .chatbox-input input::placeholder { color: var(--light); }
[data-theme="dark"] .chatbox-input button { background: #2c2924; border-color: var(--border); color: var(--grey); }
[data-theme="dark"] .chatbox-input button:hover { background: var(--black); color: #1a1814; }
[data-theme="dark"] .chip { background: #221e19; border-color: var(--border); color: var(--grey); }
[data-theme="dark"] .chip:hover { border-color: var(--black); color: var(--black); }
[data-theme="dark"] .screenshots img { border-color: var(--border); }
[data-theme="dark"] .img-full { border-color: var(--border); }
[data-theme="dark"] .doodle, [data-theme="dark"] .doodle-inline,
[data-theme="dark"] .doodle-bullet, [data-theme="dark"] .doodle-micro { filter: invert(1); }
[data-theme="dark"] .theme-icon--light { display: none !important; }
[data-theme="dark"] .theme-icon--dark { display: block !important; }
[data-theme="dark"] ::selection { background: #e0ddd8; color: #1a1814; }

body {
  font-family: var(--font); font-weight: 400; font-size: 14.5px;
  background: var(--bg); color: var(--black);
  line-height: 1.85; max-width: var(--max-w);
  margin: 0 auto; padding: 0 2rem;
}

a { color: var(--black); transition: opacity 0.15s ease; }
a:hover { text-decoration: none; opacity: 0.65; }

/* ========================
   ENTRANCE ANIMATIONS
   ======================== */

/* Hero elements — pure CSS, no JS dependency */
.hero-enter {
  animation: heroFadeIn 0.7s ease forwards;
  opacity: 0;
}
.hero-enter-d1 { animation-delay: 0.1s; }
.hero-enter-d2 { animation-delay: 0.25s; }
.hero-enter-d3 { animation-delay: 0.4s; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
/* Doodles use their own target opacity */
.hero-enter-doodle {
  animation: doodleFadeIn 0.8s ease forwards;
  opacity: 0;
}
@keyframes doodleFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 0.25; transform: none; }
}
.hero-enter-squiggle {
  animation: squiggleFadeIn 0.8s ease 0.5s forwards;
  opacity: 0;
}
@keyframes squiggleFadeIn {
  from { opacity: 0; }
  to { opacity: 0.15; }
}

/* Arrow doodle in hero */
.doodle--arrow {
  display: block; margin: 0.5rem auto 0.25rem;
  opacity: 0;
  animation: arrowFadeIn 0.6s ease 0.5s forwards;
}
@keyframes arrowFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 0.2; transform: none; }
}

/* Below-fold — JS IntersectionObserver driven */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1; transform: none;
}

/* ========================
   NAV — airtight
   ======================== */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; position: sticky; top: 0;
  background: var(--bg); z-index: 100;
}
.nav::after {
  content: ''; position: absolute; bottom: 0; left: -2rem; right: -2rem;
  height: 1px; background: var(--border);
}
.nav-logo {
  font-weight: 600; font-size: 0.82rem; text-decoration: none;
  letter-spacing: 0.02em; white-space: nowrap;
  transition: letter-spacing 0.3s ease, opacity 0.15s;
}
.nav-logo:hover { letter-spacing: 0.06em; opacity: 1 !important; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a {
  font-size: 0.78rem; color: var(--grey);
  text-decoration: none; transition: color 0.15s;
  position: relative; padding: 0.25rem 0;
}
.nav-links a:hover { color: var(--black); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--black);
  transition: width 0.2s ease;
}
.nav-links a:hover::after { width: 100%; }

/* last nav link styled as button */
.nav-links a:last-child {
  border: 1px solid var(--black); padding: 0.3rem 0.75rem;
  font-weight: 500; font-size: 0.72rem;
}
.nav-links a:last-child::after { display: none; }
.nav-links a:last-child:hover { background: var(--black); color: #fff; }

.nav-right-mobile { display: none; align-items: center; gap: 0.75rem; }
.theme-toggle--mobile { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--black); display: block; transition: all 0.3s; }

.mobile-menu {
  display: none; position: fixed; top: 50px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 0.5rem 2rem 1rem; z-index: 99;
}
.mobile-menu.open { display: flex; flex-direction: column; }
.mobile-menu a { padding: 0.7rem 0; font-size: 0.85rem; color: var(--grey); text-decoration: none; border-bottom: 1px solid #f0f0f0; }

/* ========================
   DOODLES
   ======================== */
.doodle { display: inline-block; vertical-align: middle; }
.doodle--hero { position: absolute; top: 0; right: 0; opacity: 0.25; animation: doodleFloat 6s ease-in-out infinite; }
@keyframes doodleFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-3px, 3px) rotate(4deg); }
}
.doodle--squiggle { display: block; margin-top: 1.5rem; opacity: 0.15; }
.doodle--chat { display: block; margin-bottom: 0.5rem; opacity: 0.3; }
.doodle--footer { display: block; margin-bottom: 0.5rem; opacity: 0.2; transition: transform 0.5s ease; }
footer:hover .doodle--footer { transform: rotate(90deg); }
.doodle-inline { flex-shrink: 0; opacity: 0.35; transition: transform 0.3s ease, opacity 0.3s ease; }
summary:hover .doodle-inline { transform: rotate(15deg); opacity: 0.55; }
.doodle-bullet { flex-shrink: 0; opacity: 0.3; transition: transform 0.25s ease, opacity 0.25s ease; }
summary:hover .doodle-bullet { transform: scale(1.2); opacity: 0.5; }

/* SVG draw-on-scroll animation */
.doodle-draw path, .doodle-draw circle, .doodle-draw rect, .doodle-draw ellipse, .doodle-draw line {
  transition: stroke-dashoffset 0.8s ease, fill-opacity 0.4s ease 0.6s;
}
.doodle-draw [fill="#000"] {
  fill-opacity: 0; transition: fill-opacity 0.3s ease 0.7s;
}
.doodle-draw.drawn path, .doodle-draw.drawn circle,
.doodle-draw.drawn rect, .doodle-draw.drawn ellipse,
.doodle-draw.drawn line {
  stroke-dashoffset: 0 !important;
}
.doodle-draw.drawn [fill="#000"] {
  fill-opacity: 1;
}
.doodle-micro { display: inline-block; vertical-align: middle; opacity: 0.3; margin-right: 0.15rem; }

/* ========================
   ALSO BUILT (minor products)
   ======================== */
.also-built {
  font-size: 0.78rem; color: var(--light);
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}
.also-built a { color: var(--grey); }

/* ========================
   TOOL ENTRIES (within AI tools toggle)
   ======================== */
.tool-entry {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}
.tool-entry:last-child { border-bottom: none; padding-bottom: 0; }

/* ========================
   HERO
   ======================== */
.hero {
  padding: 3rem 0 2rem; position: relative;
}
.hero p { text-align: justify; margin-bottom: 1rem; }

/* Oscar Wilde quote — the centerpiece */
.hero-quote {
  margin: 0 0 2rem; padding: 0; border: none;
  text-align: center;
}
.hero-quote .quote-text {
  font-size: 1.6rem; font-weight: 300;
  letter-spacing: -0.02em; line-height: 1.5;
  text-align: center; margin-bottom: 0.5rem;
  font-style: italic;
}
.hero-quote cite {
  font-size: 0.7rem; font-style: normal;
  color: var(--light); letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-links {
  margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem;
}
.hero-links a {
  font-size: 0.82rem; font-weight: 500;
  transition: letter-spacing 0.2s ease, opacity 0.15s;
}
.hero-links a:hover { letter-spacing: 0.04em; opacity: 1 !important; }

/* Footer note */
.footer-note { font-style: italic; }

/* ========================
   TOGGLE SECTIONS (Notion-style)
   ======================== */

/* Level 0: Main sections */
.toggle-section {
  border-bottom: 1px solid var(--border);
}
.toggle-section > summary {
  font-size: 1.35rem; font-weight: 600;
  padding: 1.5rem 0;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 0.6rem;
  transition: color 0.15s;
  letter-spacing: -0.01em;
}
.toggle-section > summary::-webkit-details-marker { display: none; }
.toggle-section > summary::before {
  content: '\25B8';
  font-size: 0.85rem; color: var(--light);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.toggle-section[open] > summary::before { transform: rotate(90deg); }
.toggle-section > summary:hover { color: var(--grey); }
.toggle-section[open] > summary { padding-bottom: 1rem; }

/* Reading time badge */
.reading-time {
  font-size: 0.6rem; font-weight: 400;
  color: var(--light); margin-left: auto;
  letter-spacing: 0.02em; opacity: 0.6;
}
.toggle-section[open] > *:not(summary) {
  animation: contentReveal 0.35s ease-out;
}
@keyframes contentReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Level 1: Sub-sections (Startup Ventures, Products & Tools) */
.toggle-sub {
  margin: 1.5rem 0; border-left: 2px solid var(--border); padding-left: 1.25rem;
}
.toggle-sub > summary {
  font-size: 0.95rem; font-weight: 600;
  padding: 0.75rem 0; cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--grey); transition: color 0.15s;
}
.toggle-sub > summary::-webkit-details-marker { display: none; }
.toggle-sub > summary::before {
  content: '\25B8'; font-size: 0.7rem; color: var(--light);
  transition: transform 0.2s ease; flex-shrink: 0;
}
.toggle-sub[open] > summary::before { transform: rotate(90deg); }
.toggle-sub > summary:hover { color: var(--black); }

/* Level 2: Individual items (Oyester, Littlewise, etc.) */
.toggle-item {
  margin: 0.5rem 0; padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.toggle-item:last-child { border-bottom: none; }
.toggle-item > summary {
  font-size: 0.92rem; font-weight: 600;
  padding: 0.5rem 0; cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 0.5rem;
  transition: color 0.15s;
}
.toggle-item > summary::-webkit-details-marker { display: none; }
.toggle-item > summary::before {
  content: '\25B8'; font-size: 0.6rem; color: var(--light);
  transition: transform 0.2s ease; flex-shrink: 0;
}
.toggle-item[open] > summary::before { transform: rotate(90deg); }
.toggle-item > summary:hover { color: var(--grey); }
.toggle-item[open] { padding-bottom: 1rem; }
.toggle-item[open] > *:not(summary) {
  animation: contentReveal 0.3s ease-out;
}

/* Level 3: Inner details (Why we stopped, What I learned) */
.toggle-inner {
  margin: 0.5rem 0;
}
.toggle-inner > summary {
  font-size: 0.8rem; font-weight: 500;
  color: var(--grey); cursor: pointer; list-style: none;
  padding: 0.3rem 0; transition: color 0.15s;
  display: flex; align-items: center; gap: 0.4rem;
}
.toggle-inner > summary::-webkit-details-marker { display: none; }
.toggle-inner > summary::before {
  content: '+'; font-size: 0.75rem; color: var(--light);
  flex-shrink: 0; width: 1em; text-align: center;
}
.toggle-inner[open] > summary::before { content: '\2212'; /* minus */ }
.toggle-inner > summary:hover, .toggle-inner[open] > summary { color: var(--black); }
.toggle-inner ul, .toggle-inner ol, .toggle-inner p {
  margin-top: 0.5rem; font-size: 0.85rem; color: var(--grey);
}
.toggle-inner li { font-size: 0.83rem; }

/* Meta text (dates, roles) */
.meta {
  font-size: 0.78rem; color: var(--light);
  margin-bottom: 1rem !important;
}


/* ========================
   SECTIONS
   ======================== */
section { padding: 2.5rem 0; }

h2 {
  font-size: 1.05rem; font-weight: 600;
  text-transform: lowercase; letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
h3, .sub-heading {
  font-size: 0.88rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 2.5rem; margin-bottom: 0.5rem;
  color: var(--grey);
}
.sub-intro { color: var(--grey); margin-bottom: 2rem; }

h4 {
  font-size: 0.82rem; font-weight: 600;
  margin-top: 2rem; margin-bottom: 0.75rem;
}

p { text-align: justify; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
p.small { font-size: 0.82rem; color: var(--grey); }
p.caption { font-size: 0.78rem; color: var(--light); font-style: italic; margin-bottom: 0.75rem; }

hr {
  border: none; border-top: 1px solid var(--border);
  margin: 0;
}

ul, ol { padding-left: 1.25rem; margin-bottom: 1rem; }
li { padding: 0.15rem 0; font-size: 0.9rem; }

/* ========================
   PROJECTS
   ======================== */
.project {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.project:last-of-type { border-bottom: none; }

.project h4 { margin-top: 0; margin-bottom: 0.5rem; }
.project h4 a { text-decoration: none; }
.project h4 a:hover { text-decoration: underline; }

.project--compact { margin-bottom: 2rem; padding-bottom: 2rem; }

/* Screenshots */
.screenshots {
  display: flex; gap: 0.75rem; margin: 1.25rem 0;
  overflow-x: auto; scrollbar-width: none;
}
.screenshots::-webkit-scrollbar { display: none; }
.screenshots img {
  max-height: 280px; width: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.screenshots img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.img-full {
  width: 100%; max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin: 0.75rem 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.img-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Details / toggles */
details { margin-top: 0.75rem; }
details summary {
  font-size: 0.8rem; font-weight: 500;
  color: var(--grey); cursor: pointer;
  list-style: none; transition: color 0.15s;
  padding: 0.25rem 0;
}
details summary::-webkit-details-marker { display: none; }
details summary:hover, details[open] summary { color: var(--black); }
details ul, details p {
  margin-top: 0.5rem; font-size: 0.88rem;
  color: var(--grey);
}
details li { font-size: 0.85rem; }

/* ========================
   EXPERIENCE
   ======================== */
.exp {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.exp:last-of-type { border-bottom: none; }

.exp-header {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.15rem;
}
.exp-header span {
  font-size: 0.78rem; color: var(--light); white-space: nowrap;
}
.exp-role {
  font-size: 0.8rem; color: var(--grey);
  margin-bottom: 1rem !important;
}

/* ========================
   RESUME (inline)
   ======================== */
.resume {
  padding: 0.5rem 0;
}
.resume-header {
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 2px solid var(--black);
}
.resume-header h3 {
  font-size: 1.2rem; font-weight: 600; margin-bottom: 0.25rem;
}
.resume-header p {
  font-size: 0.78rem; color: var(--grey); text-align: left !important;
}
.resume-section {
  margin-bottom: 1.5rem;
}
.resume-section h4 {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--grey); margin-bottom: 0.75rem;
  padding-bottom: 0.35rem; border-bottom: 1px solid var(--border);
}
.resume-entry { margin-bottom: 1.25rem; }
.resume-entry-header {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.35rem;
}
.resume-entry-header span {
  font-size: 0.75rem; color: var(--light); white-space: nowrap;
}
.resume-entry ul { margin-top: 0.25rem; }
.resume-entry li { font-size: 0.82rem; padding: 0.1rem 0; }

/* ========================
   CHAT
   ======================== */
.chat-section {
  padding: 2.5rem 0;
}
.chat-section h2 { margin-bottom: 0.5rem; }

/* Chatbox */
.chatbox {
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; flex-direction: column;
  height: 480px; overflow: hidden;
}
.chatbox-messages {
  flex: 1; overflow-y: auto; padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.chatbox-welcome {
  font-size: 1.1rem; font-weight: 600;
  color: var(--light); text-align: center;
  padding: 3rem 0;
}
.chat-msg {
  max-width: 85%; font-size: 0.82rem; line-height: 1.65;
  padding: 0.65rem 0.9rem; border-radius: 4px;
  animation: chatFadeIn 0.25s ease-out;
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--black); color: #fff;
}
.chat-msg--bot {
  align-self: flex-start;
  background: #f5f5f5; color: var(--black);
}
.chat-msg--loading {
  align-self: flex-start;
  background: #f5f5f5; color: var(--light);
  font-style: italic;
}
@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Chips */
.chatbox-chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding: 0.5rem 1rem; border-top: 1px solid #f0f0f0;
  justify-content: center;
}
.chip {
  font-family: var(--font); font-size: 0.7rem; font-weight: 500;
  padding: 0.35rem 0.7rem; border: 1px solid var(--border);
  background: #fff; color: var(--grey); cursor: pointer;
  border-radius: 100px; transition: all 0.15s;
}
.chip:hover { border-color: var(--black); color: var(--black); }
.chip:disabled { opacity: 0.4; cursor: default; }

/* Input */
.chatbox-input {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-top: 1px solid var(--border);
  background: #fafafa;
}
.chatbox-input input {
  flex: 1; font-family: var(--font); font-size: 0.82rem;
  border: none; background: none; outline: none;
  color: var(--black); padding: 0.3rem 0;
}
.chatbox-input input::placeholder { color: var(--light); }
.chatbox-input button {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff;
  font-size: 0.85rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: all 0.15s; color: var(--grey);
}
.chatbox-input button:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* ========================
   FOOTER
   ======================== */
footer {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  padding: 2rem 0; margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem; color: var(--light);
  gap: 1rem;
}
footer a { color: var(--grey); font-weight: 500; margin-left: 0.25rem; }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 640px) {
  body { font-size: 14px; padding: 0 1.5rem; }

  /* Nav */
  .nav { padding: 1.25rem 0; }
  .nav-links { display: none; }
  .nav-right-mobile { display: flex; }
  .theme-toggle--mobile { display: flex; }
  .nav-toggle { display: flex; }
  .mobile-menu { padding: 0.75rem 1.5rem 1.25rem; }
  .mobile-menu a {
    padding: 1rem 0; font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Hero */
  .hero { padding: 2rem 0 1.5rem; }
  .hero p { text-align: left !important; font-size: 0.9em; line-height: 1.75; }
  .hero-quote { margin-bottom: 1.25rem; }
  .hero-quote .quote-text {
    font-size: 1.2rem; text-align: center !important; line-height: 1.5;
  }
  .hero-links {
    gap: 0.75rem 1.25rem; flex-wrap: wrap;
  }
  .hero-links a {
    font-size: 0.82rem;
  }

  /* Doodles */
  .doodle--hero { width: 32px; height: 32px; top: 0.5rem; right: 0; }
  .doodle--squiggle { margin-top: 1rem; }

  /* Toggles — bigger tap targets */
  .toggle-section > summary {
    font-size: 1.15rem; padding: 1.25rem 0;
    -webkit-tap-highlight-color: transparent;
  }
  .toggle-item > summary {
    font-size: 0.88rem; padding: 0.65rem 0;
    -webkit-tap-highlight-color: transparent;
  }
  .toggle-inner > summary {
    padding: 0.4rem 0; font-size: 0.78rem;
    -webkit-tap-highlight-color: transparent;
  }

  /* Text */
  p { text-align: left !important; }

  /* Screenshots */
  .screenshots { margin: 1rem -1.5rem; padding: 0 1.5rem; gap: 0.5rem; }
  .screenshots img { max-height: 180px; border-radius: 3px; }
  .img-full { border-radius: 3px; }

  /* Experience */
  .exp-header { flex-direction: column; gap: 0.1rem; }

  /* Chatbox */
  .chatbox { height: 420px; }
  .chatbox-messages { padding: 1rem; }
  .chatbox-welcome { font-size: 0.95rem; padding: 2rem 0; }
  .chat-msg { max-width: 90%; font-size: 0.8rem; padding: 0.6rem 0.8rem; }
  .chatbox-chips { padding: 0.5rem 0.75rem; gap: 0.35rem; }
  .chip { font-size: 0.68rem; padding: 0.3rem 0.6rem; }
  .chatbox-input { padding: 0.5rem 0.75rem; }
  .chatbox-input input { font-size: 0.8rem; }
  .chatbox-input button { width: 28px; height: 28px; font-size: 0.8rem; }

  /* Footer */
  footer { flex-direction: column; padding: 1.5rem 0; }

  /* Lists */
  ul, ol { padding-left: 1rem; }
  li { font-size: 0.85rem; }
  .toggle-inner li { font-size: 0.8rem; }

  /* Also built */
  .also-built { font-size: 0.75rem; }
}
