/* ==========================================================================
   EXPERIMENT: lime shapes. Loaded only by index.html.
   To revert, delete the <link href="assets/shapes.css"> line in that file.
   One small vocabulary, repeated: a solid lime circle, a lime sparkle with a
   black outline, and a lime squiggle (echoing the experience line).
   Every shape is decorative (pseudo-elements), sits behind content, and
   never carries text.
   ========================================================================== */
:root {
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 3C54 36 64 46 97 50C64 54 54 64 50 97C46 64 36 54 3 50C36 46 46 36 50 3Z' fill='%23D4F53C' stroke='%23000' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E");
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 40'%3E%3Cpath d='M6 26C20 6 34 6 46 22S72 38 86 22S112 6 126 22S152 38 164 18' fill='none' stroke='%23D4F53C' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Hero: a big lime sun behind the right of the name, ringed, with a sparkle */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 70px;
  right: -40px;
  width: clamp(200px, 25vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pop);
  outline: 1.5px solid var(--black);
  outline-offset: 14px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: calc(70px + clamp(200px, 25vw, 360px) - 40px);
  right: calc(clamp(200px, 25vw, 360px) - 70px);
  width: clamp(56px, 6vw, 84px);
  aspect-ratio: 1;
  background: var(--sparkle) center / contain no-repeat;
  animation: sparkle-turn 24s linear infinite;
  pointer-events: none;
}
@keyframes sparkle-turn { to { transform: rotate(360deg); } }

/* Section headings: a sparkle sits at the end of each rule */
.section-head { position: relative; }
.section-head::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -17px;
  width: 34px;
  height: 34px;
  background: var(--sparkle) center / contain no-repeat;
  pointer-events: none;
}

/* Experience: a squiggle tucked beside the chapter label */
.journey-now::after {
  content: '';
  width: 72px;
  height: 18px;
  margin-left: 4px;
  background: var(--squiggle) center / contain no-repeat;
}

/* About: a lime disc behind the portrait's corner */
.me-photo { isolation: isolate; }
.me-photo::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -32px;
  bottom: -32px;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pop);
  pointer-events: none;
}
.me { padding-bottom: 32px; }

/* Readings: a quarter sun rising from each card's corner */
.read { position: relative; overflow: hidden; isolation: isolate; }
.read::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -56px;
  bottom: -56px;
  width: 128px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pop);
  transition: transform .5s var(--ease-out);
  pointer-events: none;
}
.read:hover::after { transform: scale(1.25); }

/* Contact: a sparkle after "talk." */
.contact h2 em { position: relative; }
.contact h2 em::after {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.12em;
  vertical-align: 0.55em;
  background: var(--sparkle) center / contain no-repeat;
}

/* Footer: the squiggle again, above the wordmark */
.site-footer { position: relative; }
.site-footer::before {
  content: '';
  position: absolute;
  top: 48px;
  right: 6%;
  width: clamp(120px, 14vw, 200px);
  aspect-ratio: 170 / 40;
  background: var(--squiggle) center / contain no-repeat;
  pointer-events: none;
}

@media (max-width: 680px) {
  .hero::before { top: 36px; right: -76px; width: 140px; outline-offset: 9px; }
  .hero::after { top: 150px; right: 52px; width: 36px; }
  .journey-now::after { display: none; }
  .me-photo::before { left: -16px; bottom: -16px; }
  .site-footer::before { top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
  .read::after { transition: none; }
}
