/* Kisalove Inc — Keep It Simple And Love */
:root {
  --cream: #f7f1e6;
  --cream-deep: #efe6d6;
  --paper: #fbf7f0;
  --ink: #1c1915;
  --ink-soft: #3a342c;
  --muted: #6b6358;
  --rule: #d6cbb8;
  --walnut: #6b4f3a;
  --walnut-deep: #4a3426;
  --accent: #8b5e3c;
  --max: 1080px;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;
  --script: "Great Vibes", "Segoe Script", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--walnut-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.35rem); margin: 0 0 0.55em; }
h3 { font-size: 1.35rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1.25em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; flex-wrap: wrap;
}
.brand { text-decoration: none; color: var(--ink); display: grid; gap: 0.1rem; }
.brand-name {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.1;
}
.brand-tag {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.nav {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.85rem;
  align-items: center; justify-content: flex-end;
}
.nav a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.92rem; font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--walnut-deep); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.22em; }

.hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(139, 94, 60, 0.08), transparent 45%),
    var(--cream);
}
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 0.85rem;
}
.lede {
  font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.45; color: var(--ink-soft); max-width: 38rem; margin-bottom: 1.25rem;
}
.meta-line { color: var(--muted); font-size: 0.95rem; }

section.block { padding: 3.25rem 0; border-bottom: 1px solid var(--rule); }
section.block:last-of-type { border-bottom: 0; }
.section-kicker {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 0.65rem;
}

.grid-work {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.5rem;
}
.card-link {
  display: block; padding: 1.35rem 1.25rem;
  background: var(--cream); border: 1px solid var(--rule);
  text-decoration: none; color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card-link:hover { border-color: var(--walnut); transform: translateY(-2px); color: inherit; }
.card-link h3 { margin-bottom: 0.35rem; }
.card-link p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.04em; text-decoration: none;
  padding: 0.7rem 1.15rem; border: 1px solid var(--ink);
  background: var(--ink); color: var(--cream);
}
.btn:hover { background: var(--walnut-deep); border-color: var(--walnut-deep); color: var(--cream); }
.btn-ghost {
  background: transparent; color: var(--ink);
}
.btn-ghost:hover { background: var(--cream-deep); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li {
  padding: 1.15rem 0; border-bottom: 1px solid var(--rule); margin: 0;
}
.list-plain li:last-child { border-bottom: 0; }
.badge {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
  margin-bottom: 0.35rem;
}
.status { color: var(--walnut); font-weight: 600; font-size: 0.85rem; }

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--cream);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1.4fr 1fr;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav { justify-content: flex-start; }
}
.socials { display: flex; flex-wrap: wrap; gap: 0.65rem 1rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.socials a { text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.footer-note { color: var(--muted); font-size: 0.9rem; margin: 0; }
.footer-bottom {
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  justify-content: space-between; color: var(--muted); font-size: 0.88rem;
}

/* Remembers — memorial */
body.page-remembers {
  background: #f4eee4;
  color: #2a241c;
}
body.page-remembers .site-header { background: rgba(244, 238, 228, 0.94); }
.remembers-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(107, 79, 58, 0.07), transparent 55%),
    #f4eee4;
  border-bottom: 1px solid #d9ceb9;
}
.remembers-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin: 0 0 1.5rem;
  color: #2a241c;
}
.remembers-quote {
  font-family: var(--script);
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  line-height: 1.45;
  color: #3d3429;
  max-width: 34rem;
  margin: 0 auto 0.5rem;
}
.remembers-body {
  max-width: 38rem;
  margin: 0 auto;
  padding: 3rem 0 4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.75;
  color: #3a3228;
}
.remembers-body p { margin-bottom: 1.35rem; }
.remembers-close {
  font-family: var(--script);
  font-style: normal;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin: 2rem 0 0.35rem;
  color: #2a241c;
}
.remembers-mission {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: #6b6358;
  margin-bottom: 0;
}

/* Records */
.track {
  display: grid; gap: 0.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}
.track:last-child { border-bottom: 0; }
.track h3 { margin: 0; font-size: 1.4rem; }
.track-meta { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.track-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.35rem; }
.track-links a { font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.note-box {
  margin-top: 2rem; padding: 1.35rem 1.25rem;
  background: var(--cream); border: 1px solid var(--rule);
}
.note-box h2 { font-size: 1.45rem; }

/* Card print layout */
.card-stage {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1.5rem;
}
.biz-card {
  aspect-ratio: 3.5 / 2;
  border: 1px solid var(--rule);
  background: var(--cream);
  padding: 1.1rem 1.2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  max-width: 420px;
  box-shadow: 0 8px 24px rgba(28, 25, 21, 0.06);
}
.biz-card.back { align-items: center; text-align: center; gap: 0.5rem; justify-content: center; }
.biz-card .name { font-family: var(--serif); font-size: 1.55rem; margin: 0; }
.biz-card .role { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.92rem; }
.biz-card .motto {
  font-family: var(--serif); font-style: italic; margin: 0;
  color: var(--ink-soft); font-size: 1rem;
}
.biz-card .qr {
  width: 96px; height: 96px; image-rendering: pixelated;
  border: 1px solid var(--rule); background: #fff; padding: 4px;
}
.biz-card .url { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted); margin: 0; }

.goal-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 1.25rem;
}
.goal-card {
  padding: 1.2rem; border: 1px solid var(--rule); background: var(--cream);
}
.goal-letter {
  font-family: var(--serif); font-size: 2rem; color: var(--walnut);
  line-height: 1; margin-bottom: 0.35rem;
}

.prose-narrow { max-width: 40rem; }
.prose-narrow > :last-child { margin-bottom: 0; }

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
}
