/* ————————————————————————————————
   Nia Salapare — public site
   Visual language (approved 2026-07-03): warm kraft-paper canvas,
   taped polaroid cards, handwritten marker/pen accents (Caveat),
   clean Inter for everything people need to read.
   No tilted photos or buttons; hover = lift/press, never rotate.
   ———————————————————————————————— */

:root {
  --canvas: #EDE3CE;
  --card: #FFFFFF;
  --ink: #2C2620;
  --pencil: #6E6252;
  --tape: rgba(255, 226, 130, 0.75);
  --marker: #E4572E;
  --pen: #2456A8;
  --note: #FFF3B0;
  --shadow: rgba(60, 45, 20, 0.22);
  --measure: 62ch;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.35), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(120, 90, 40, 0.10), transparent 45%),
    var(--canvas);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px 80px; }

/* ————— header ————— */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0 0;
}

.site-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav a {
  color: var(--pencil);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 22px;
}

.site-nav a:hover { color: var(--ink); }

/* ————— hero (homepage): words left, Nia right ————— */

.hero {
  padding: 80px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr);
  gap: 48px;
  align-items: start;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 6.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 15ch;
}

.hero h1 .scribble { position: relative; white-space: nowrap; }
.hero h1 .scribble::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: var(--tape);
  z-index: -1;
  transform: rotate(-1deg);
}

.hero .sub {
  margin-top: 24px;
  max-width: 54ch;
  color: var(--pencil);
  font-size: 1.05rem;
}

.me-corner { justify-self: end; width: min(300px, 100%); }

.me {
  background: var(--card);
  padding: 12px 12px 16px;
  box-shadow: 0 14px 34px rgba(60, 45, 20, 0.25);
  position: relative;
}

.me img { width: 100%; display: block; }

.me figcaption {
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  text-align: center;
  padding-top: 8px;
}

.me::before {
  content: "";
  position: absolute;
  top: -13px; left: 50%;
  width: 110px; height: 28px;
  background: var(--tape);
  transform: translateX(-50%);
  z-index: 2;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; }
  .me-corner { justify-self: start; }
}

/* ————— shelf (polaroid grid) ————— */

.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 44px 34px;
  padding: 46px 0 30px;
}

.polaroid {
  background: var(--card);
  padding: 12px 12px 0;
  box-shadow: 0 14px 34px var(--shadow);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.polaroid:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(60, 45, 20, 0.28);
  z-index: 3;
}

.polaroid::before {
  content: "";
  position: absolute;
  top: -13px; left: 50%;
  width: 100px; height: 28px;
  background: var(--tape);
  transform: translateX(-50%);
  z-index: 2;
}

.polaroid .shot {
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: #FFF6EF;
  position: relative;
  border: 1px solid #EFE8DA;
}

.shot iframe {
  width: 250%;
  height: 250%;
  transform: scale(0.4);
  transform-origin: top left;
  border: 0;
  pointer-events: none;
}

.polaroid .label { padding: 16px 8px 18px; }

.polaroid h2 {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  display: inline-block;
}

.polaroid .stamp {
  font-family: "Caveat", cursive;
  font-size: 1.2rem;
  color: var(--marker);
  margin-left: 8px;
  white-space: nowrap;
}

.polaroid .need {
  margin-top: 8px;
  color: var(--pencil);
  font-size: 0.93rem;
}

/* the honest empty-state sticky note */
.sticky {
  background: var(--note);
  padding: 26px 22px;
  box-shadow: 0 10px 26px rgba(60, 45, 20, 0.18);
  transform: rotate(-2deg);
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  line-height: 1.3;
  align-self: center;
  justify-self: start;
  color: #4A4230;
}

/* ————— story page ————— */

.crumb {
  display: inline-block;
  margin-top: 40px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--pencil);
  text-decoration: none;
}

.crumb:hover { color: var(--ink); }

.board {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
  padding: 18px 0 40px;
}

@media (max-width: 880px) { .board { grid-template-columns: 1fr; } }

/* the story = a taped sheet of paper */
.sheet {
  background: var(--card);
  padding: 50px 52px 44px;
  box-shadow: 0 18px 44px var(--shadow);
  position: relative;
  line-height: 1.65;
}

.sheet::before {
  content: "";
  position: absolute;
  top: -14px; left: 12%;
  width: 120px; height: 30px;
  background: var(--tape);
}

.sheet::after {
  content: "";
  position: absolute;
  top: -12px; right: 14%;
  width: 90px; height: 26px;
  background: var(--tape);
}

@media (max-width: 560px) { .sheet { padding: 36px 26px 30px; } }

.sheet h1 {
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.sheet .dek { margin-top: 10px; color: var(--pencil); font-size: 1.1rem; }

.sheet .stamp {
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  color: var(--marker);
  display: inline-block;
  margin-top: 12px;
}

.sheet h2 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--marker);
  margin: 38px 0 8px;
}

.sheet p { max-width: var(--measure); margin-bottom: 14px; }

.sheet ul { max-width: var(--measure); padding-left: 20px; margin-bottom: 14px; }
.sheet li { margin-bottom: 10px; }

/* the specific ask — normal size, readable, never handwritten */
.tellme {
  margin-top: 34px;
  font-weight: 600;
  font-size: 1rem;
}

.tellme a { color: var(--marker); text-decoration: none; }
.tellme a:hover { text-decoration: underline; }

/* aside: the artifact polaroid */
.aside { position: sticky; top: 30px; }

.aside .polaroid { padding: 12px 12px 14px; display: block; }
.aside .polaroid:hover { transform: none; box-shadow: 0 14px 34px rgba(60, 45, 20, 0.25); }

.aside .shot { aspect-ratio: 4 / 4.6; }

.aside .shot iframe {
  width: 285%;
  height: 285%;
  transform: scale(0.35);
}

.aside figcaption {
  font-family: "Caveat", cursive;
  font-size: 1.3rem;
  text-align: center;
  padding-top: 8px;
  color: var(--pencil);
}

.cta {
  display: block;
  margin-top: 22px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--marker);
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--marker); }

/* also built */
.also { margin-top: 36px; font-size: 0.95rem; }

.also .lead {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pencil);
  margin-bottom: 8px;
}

.also a {
  display: block;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 6px;
}

.also a:hover { color: var(--marker); }

/* ————— footer ————— */

.site-footer {
  margin-top: 50px;
  border-top: 2px dashed rgba(110, 98, 82, 0.4);
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--pencil);
  font-size: 0.95rem;
}

.site-footer p { max-width: 52ch; }

.site-footer strong { color: var(--ink); }

.site-footer a:not(.contact-btn) { color: var(--ink); font-weight: 600; }

.contact-btn {
  display: inline-block;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 4px 4px 0 var(--marker);
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.contact-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--marker); }
