/* =========================================
   Kshitija Kadam — Portfolio
   Sketchbook / Creative aesthetic
   ========================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f5f0eb;
  --cream-dark: #ede6dd;
  --ink: #2a2a2a;
  --ink-light: #555;
  --coral: #e87c6c;
  --coral-light: #f2a99e;
  --warm-yellow: #f4c060;
  --sky: #89c4d4;
  --teal: #6db8b0;
  --lavender: #b5a8d4;
  --green: #7bbf9e;

  --ff-hand: 'Caveat', cursive;
  --ff-body: 'DM Sans', sans-serif;

  --section-pad: 6rem 2rem;
  --max-w: 1000px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* --- DOT NAVIGATION --- */
.dot-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.dot-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-end;
}

.dot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.dot::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  transition: background 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.dot.active::after {
  background: var(--coral);
  border-color: var(--coral);
  transform: scale(1.3);
}

.dot:hover::after {
  background: var(--ink);
  transform: scale(1.2);
}

.dot-label {
  font-family: var(--ff-hand);
  font-size: 1rem;
  color: var(--ink);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  pointer-events: none;
}

.dot:hover .dot-label,
.dot.active .dot-label {
  opacity: 1;
  transform: translateX(0);
}

/* --- SECTIONS --- */
.section {
  min-height: 100vh;
  padding: var(--section-pad);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Each section background is matched to its illustration's paper tone.
   multiply blend mode handles any residual edge pixels. */
.hero-section     { background-color: #faf8f5; } /* k1.jpg  — very light warm white   */
.about-section    { background-color: #f0eee9; } /* k5.png  — cool-tinted light gray  */
.thinking-section { background-color: #fafaf7; } /* k6.png  — near white, faint warm  */
.values-section   { background-color: #f5f3f0; } /* k7.png  — soft warm off-white     */
.workstyle-section{ background-color: #f2f0eb; } /* k3.png  — warm off-white beige    */
.outside-section  { background-color: #ede8de; } /* k4.png  — warmest, most beige     */
.faq-section      { background-color: #f5f1ea; } /* no image — warm neutral mid-tone  */
.contact-section  { background-color: #e8e0d5; } /* footer  — deepest warm cream      */

.section-inner {
  width: 100%;
  max-width: var(--max-w);
}

.section-inner.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-inner.two-col.reverse {
  direction: rtl;
}

.section-inner.two-col.reverse > * {
  direction: ltr;
}

.section-inner.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.section-heading {
  font-family: var(--ff-hand);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-text p {
  color: var(--ink-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* All illustration images have white/light bg — multiply blends them into cream */
.section-image img,
.centered-image {
  border-radius: 12px;
  mix-blend-mode: multiply;
}

/* --- HERO --- */
.hero-section {
  min-height: 100vh;
  padding: 4rem 2rem;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  text-align: center;
}

/* Circular photo placeholder */
.photo-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px dashed var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: var(--cream-dark);
  color: var(--coral);
  font-family: var(--ff-hand);
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.4;
}

/* mix-blend-mode: multiply makes the white bg of k1.jpg
   blend into the cream page — watercolor floats naturally */
.hero-namecard {
  width: 380px;
  max-width: 90vw;
  mix-blend-mode: multiply;
}

.hero-sub {
  font-family: var(--ff-hand);
  font-size: 1.3rem;
  color: var(--ink-light);
  letter-spacing: 0.02em;
  margin-top: -0.5rem;
}

.scroll-hint {
  font-family: var(--ff-hand);
  font-size: 1.1rem;
  color: var(--ink-light);
  text-decoration: none;
  animation: bob 2s ease-in-out infinite;
  display: inline-block;
}

.scroll-hint:hover {
  color: var(--coral);
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- CENTERED IMAGE SECTIONS --- */
.centered-image {
  max-width: 560px;
  border-radius: 12px;
}

.centered-image.wide {
  max-width: 780px;
}

/* --- FAQ --- */
.faq-sub {
  color: var(--ink-light);
  font-style: italic;
  margin-top: -1.5rem;
  margin-bottom: 0.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  border: 2px solid #e0d9cf;
  border-radius: 16px;
  overflow: hidden;
  background: #faf8f5;
  transition: border-color 0.25s;
}

.faq-item:hover {
  border-color: var(--coral-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--ff-hand);
  font-size: 1.2rem;
  color: var(--ink);
  text-align: left;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--coral);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 1.4rem;
}

.faq-answer.open {
  max-height: 200px;
  padding: 0 1.4rem 1.2rem;
}

.faq-answer p {
  color: var(--ink-light);
  font-size: 1rem;
  line-height: 1.65;
}

/* --- CONTACT --- */
.contact-heading {
  font-family: var(--ff-hand);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.contact-sub {
  color: var(--ink-light);
  max-width: 480px;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--ff-hand);
  font-size: 1.3rem;
  color: var(--ink);
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 50px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.contact-link svg {
  transition: stroke 0.2s;
}

.footer-note {
  margin-top: 2rem;
  font-family: var(--ff-hand);
  font-size: 1rem;
  color: var(--ink-light);
}

/* --- RESPONSIVE --- */
@media (max-width: 720px) {
  .dot-nav {
    right: 1rem;
  }

  .dot-label {
    display: none;
  }

  .section-inner.two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-inner.two-col.reverse {
    direction: ltr;
  }

  .photo-placeholder {
    width: 140px;
    height: 140px;
  }

  .hero-namecard {
    width: 280px;
  }

  .centered-image.wide {
    max-width: 100%;
  }

  .contact-links {
    gap: 1rem;
  }
}
