/* ====================================================================
   KinnyKat Studios — Shared Styles
   Visual direction: "Twilight"
   ==================================================================== */

/* ──────────── SELF-HOSTED FONTS ──────────── */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-serif-display-v17-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-serif-display-v17-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
}

:root {
  --bg: #1f2940;
  --bg-soft: #2a3654;
  --bg-card: #2e3a58;
  --text: #f4ede1;
  --text-soft: #c9c2b6;
  --rose: #d4a09c;
  --rose-deep: #b87b76;
  --gold: #c9a96e;
  --gold-deep: #a98a4f;
  --border: rgba(244, 237, 225, 0.12);
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ──────────── NAV ──────────── */
nav.site-nav {
  padding: 28px 6vw;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: 'DM Serif Display', serif;
  color: var(--text); font-size: 24px;
  letter-spacing: 0.005em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-soft); text-decoration: none;
  font-weight: 500; font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

/* ──────────── HEADINGS / TYPE ──────────── */
h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}

main { flex: 1; }

/* ──────────── HERO (home page) ──────────── */
.hero {
  max-width: var(--max-width); margin: 0 auto;
  padding: 90px 6vw 80px;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 80px; align-items: center;
}
.hero h1 {
  font-size: clamp(56px, 8vw, 110px); line-height: 0.98;
  color: var(--text);
  margin-bottom: 28px;
}
.hero h1 .italic {
  font-style: italic; color: var(--rose);
}
.tagline {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px); color: var(--rose);
  margin-bottom: 36px;
}
.hero p {
  font-size: 17px; color: var(--text-soft);
  max-width: 540px; margin-bottom: 18px;
}

.mascot-wrap {
  position: relative;
  aspect-ratio: 1;
}
.mascot-wrap::before {
  content: ''; position: absolute; inset: -10%;
  background: radial-gradient(circle at 50% 50%, var(--bg-soft) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 0;
}
.mascot-wrap img {
  position: relative; z-index: 1;
  width: 100%; height: auto;
}

/* ──────────── PAGE HEADER (about/projects/contact) ──────────── */
.page-header {
  max-width: var(--max-width); margin: 0 auto;
  padding: 80px 6vw 32px;
}
.page-header h1 {
  font-size: clamp(48px, 6.5vw, 84px); line-height: 1;
  color: var(--text); margin-bottom: 20px;
}
.page-header .lead {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: clamp(20px, 2vw, 26px); color: var(--rose);
  max-width: 720px;
  line-height: 1.4;
}

/* ──────────── SECTION ──────────── */
.section {
  max-width: var(--max-width); margin: 0 auto;
  padding: 40px 6vw 80px;
}
.section.alt {
  background: var(--bg-soft);
  max-width: none;
  padding: 90px 6vw;
  border-top: 1px solid var(--border);
}
.section.alt .section-inner {
  max-width: var(--max-width); margin: 0 auto;
}
.section h2 {
  font-size: clamp(32px, 4vw, 44px);
  color: var(--text);
  margin-bottom: 24px;
}
.section h3 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 12px;
  margin-top: 40px;
}
.section .content-block:first-child h3 { margin-top: 0; }
.section p {
  font-size: 17px; color: var(--text-soft);
  max-width: 720px; margin-bottom: 18px;
}

.belief-list {
  list-style: none; padding: 0;
  max-width: 720px;
  margin-top: 8px;
}
.belief-list li {
  padding: 18px 0; border-bottom: 1px solid var(--border);
  color: var(--text-soft); font-size: 17px;
}
.belief-list li:last-child { border-bottom: none; }
.belief-list li strong {
  color: var(--gold); font-weight: 600;
  display: block; margin-bottom: 6px;
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.legal-note {
  margin-top: 56px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  max-width: 720px;
}
.legal-note p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 0;
}

/* ──────────── SECTION LABEL ──────────── */
.section-label {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}

/* ──────────── PROJECT CARD (text-only) ──────────── */
.project-card {
  background: var(--bg-card); border-radius: 12px;
  padding: 48px;
  border: 1px solid var(--border);
  max-width: 760px;
}
.project-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px; color: var(--text); margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.status-pill {
  display: inline-block;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 5px 14px; border-radius: 3px; font-size: 11px;
  font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 22px;
}
.project-card p {
  color: var(--text-soft); margin-bottom: 28px;
  font-size: 16px; line-height: 1.7;
}
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--bg);
  padding: 14px 28px; border-radius: 4px;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: background 0.2s;
}
.cta:hover { background: var(--gold-deep); }

/* ──────────── CONTACT PAGE ──────────── */
.contact-email {
  display: inline-block;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  margin: 16px 0 36px;
  letter-spacing: -0.005em;
  transition: color 0.2s, border-color 0.2s;
}
.contact-email:hover { color: var(--rose); border-bottom-color: var(--rose); }

.contact-note {
  font-size: 15px;
  color: var(--text-soft);
  font-style: italic;
  max-width: 540px;
}

/* ──────────── FOOTER ──────────── */
footer.site-footer {
  padding: 36px 6vw; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-soft); font-size: 13px;
  background: var(--bg);
  gap: 16px;
  flex-wrap: wrap;
}
footer.site-footer .footer-brand {
  font-family: 'DM Serif Display', serif;
  color: var(--gold); font-size: 15px;
}
footer.site-footer a {
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
footer.site-footer a:hover { border-bottom-color: var(--gold); }

/* ──────────── RESPONSIVE ──────────── */
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 50px 6vw 60px; }
  .hero h1 { font-size: clamp(44px, 11vw, 64px); }
  nav.site-nav { flex-direction: column; gap: 16px; padding: 20px 6vw; }
  .nav-links { gap: 20px; }
  .project-card { padding: 32px 28px; }
  .legal-note { padding: 20px 22px; }
  footer.site-footer { flex-direction: column; gap: 12px; text-align: center; }
}
