/* ===== KINSUGI LABS — SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

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

:root {
  /* Brand spec: #121212 Dark Slate base */
  --dark: #121212;
  --dark-surface: #1a1a1a;
  --dark-card: #1e1e1e;
  --gold: #c8a44e;
  --gold-light: #d4b76a;
  --gold-dim: #9a7d3a;
  --teal: #2a7a6d;
  --teal-deep: #1d5c52;
  --jewel-blue: #2d5a7b;
  --jewel-plum: #6b3a5e;
  --jewel-amber: #b8863b;
  --cream: #f5f5f0;
  --cream-dim: #e8e0d4;
  --text-light: #f5f5f0;
  --text-mid: #999999;
  --text-dark: #333333;
  --white: #ffffff;
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 164, 78, 0.15);
}

nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-size: 1rem;
  color: var(--gold); letter-spacing: 0.2em; font-weight: 400;
  text-transform: uppercase;
}

.nav-logo .logo-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-deep), var(--gold-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }

.nav-links a {
  color: var(--text-mid); font-size: 0.9rem; letter-spacing: 0.03em;
  transition: color var(--transition); position: relative;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold); border-radius: 1px;
}

.nav-cta {
  background: var(--gold); color: var(--dark) !important;
  padding: 0.5rem 1.25rem; border-radius: 4px;
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em;
  transition: all var(--transition);
}

.nav-cta:hover { background: var(--gold-light); color: var(--dark) !important; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: var(--transition); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--dark);
  padding: 0.85rem 2rem; border-radius: 4px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  transition: all var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); color: var(--dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--gold);
  padding: 0.85rem 2rem; border-radius: 4px;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em;
  border: 1px solid rgba(200, 164, 78, 0.4);
  transition: all var(--transition); cursor: pointer;
}
.btn-secondary:hover { border-color: var(--gold); background: rgba(200, 164, 78, 0.08); color: var(--gold-light); }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
section { padding: 6rem 0; }

.section-tag {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-dim); margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.section-heading {
  font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; color: var(--cream); line-height: 1.3;
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 1.05rem; color: var(--text-mid); max-width: 600px;
  line-height: 1.8; margin-bottom: 3rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding-top: 120px; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(200,164,78,0.08);
}

.page-header h1 {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; color: var(--cream);
}

.page-header .page-sub {
  font-size: 1.1rem; color: var(--text-mid); margin-top: 0.75rem;
  max-width: 600px;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--dark-card), var(--dark-surface));
  text-align: center; padding: 5rem 0;
  border-top: 1px solid rgba(200,164,78,0.1);
  border-bottom: 1px solid rgba(200,164,78,0.1);
}

.cta-band h2 {
  font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream); margin-bottom: 1rem; font-weight: 400;
}

.cta-band p { color: var(--text-mid); margin-bottom: 2rem; font-size: 1.05rem; }

.cta-band .hero-ctas { justify-content: center; }

/* ===== FOOTER ===== */
footer {
  padding: 3rem 0; border-top: 1px solid rgba(200,164,78,0.1);
  background: var(--dark);
}

.footer-content {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}

.footer-brand { font-family: var(--font-heading); color: var(--gold-dim); font-size: 1rem; letter-spacing: 0.05em; }

.footer-values {
  font-size: 0.8rem; color: var(--text-mid); font-style: italic;
  letter-spacing: 0.03em;
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-mid); }
.footer-links a:hover { color: var(--gold); }

.footer-copy { width: 100%; text-align: center; font-size: 0.8rem; color: var(--text-mid); margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(200,164,78,0.06); }

/* ===== APPROACH PAGE — PHASES ===== */
.approach-intro-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: start;
}

.approach-principles { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1rem; }

.principle {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; background: var(--dark-card);
  border-radius: 8px; border: 1px solid rgba(200,164,78,0.06);
}

.principle-icon {
  width: 32px; height: 32px; min-width: 32px;
  border-radius: 4px; display: flex; align-items: center;
  justify-content: center; color: var(--dark); font-size: 0.7rem;
}

.principle h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 0.25rem; }
.principle p { color: var(--text-mid); font-size: 0.88rem; line-height: 1.5; }

.phase-section { padding: 5rem 0; }

.phase-grid { max-width: 900px; }

.phase-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }

.phase-number {
  width: 64px; height: 64px; min-width: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
  color: var(--dark);
}

.phase-subtitle {
  font-size: 1rem; color: var(--gold-dim); font-style: italic;
  margin-top: 0.25rem;
}

.phase-quote blockquote {
  font-family: var(--font-heading); font-style: italic;
  font-size: 1.2rem; color: var(--gold); margin-bottom: 2.5rem;
  padding-left: 1.5rem; border-left: 3px solid rgba(200,164,78,0.3);
}

.phase-body { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }

.phase-description h3 {
  font-family: var(--font-heading); font-size: 1.2rem;
  color: var(--cream); margin-bottom: 1.25rem; font-weight: 400;
}

.phase-description p {
  color: var(--text-mid); font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 1rem;
}

.phase-actions { display: flex; flex-direction: column; gap: 1rem; }

.action-card {
  padding: 1.25rem; background: var(--dark-card);
  border-radius: 6px; border-left: 3px solid;
  border-top: 1px solid rgba(200,164,78,0.04);
  border-right: 1px solid rgba(200,164,78,0.04);
  border-bottom: 1px solid rgba(200,164,78,0.04);
}

.action-card h4 { color: var(--cream); font-size: 1rem; margin-bottom: 0.3rem; font-weight: 600; }
.action-card p { color: var(--text-mid); font-size: 0.88rem; line-height: 1.5; }

.phase-outcome {
  padding: 1.5rem 2rem; background: rgba(200,164,78,0.04);
  border-radius: 8px; border: 1px solid rgba(200,164,78,0.1);
}

.outcome-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 0.5rem; }
.outcome-text { font-family: var(--font-heading); font-size: 1.3rem; color: var(--cream); margin-bottom: 0.5rem; font-weight: 400; }
.outcome-deliverable { font-size: 0.9rem; color: var(--text-mid); }

/* ===== SERVICES PAGE ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 4rem; }

.service-card {
  background: var(--dark-card); border-radius: 8px; padding: 2.5rem 2rem;
  border: 1px solid rgba(200,164,78,0.08);
  transition: all var(--transition); position: relative; overflow: hidden;
}

.service-card:hover {
  border-color: rgba(200,164,78,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.service-card .service-badge {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.3rem 0.75rem;
  border-radius: 2px; margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-heading); font-size: 1.4rem;
  color: var(--cream); margin-bottom: 0.5rem; font-weight: 400;
}

.service-card .service-duration {
  font-size: 0.85rem; color: var(--gold-dim); margin-bottom: 1.25rem;
}

.service-card p {
  color: var(--text-mid); font-size: 0.95rem; line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card .service-includes {
  border-top: 1px solid rgba(200,164,78,0.08); padding-top: 1.25rem;
}

.service-card .service-includes h4 {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 0.75rem;
}

.service-card .service-includes li {
  list-style: none; font-size: 0.88rem; color: var(--text-mid);
  padding: 0.3rem 0; padding-left: 1.25rem; position: relative;
}

.service-card .service-includes li::before {
  content: '—'; position: absolute; left: 0; color: var(--gold-dim);
}

/* ===== WHO WE WORK WITH ===== */
.icp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.icp-item {
  padding: 1.5rem; background: var(--dark-card); border-radius: 6px;
  border: 1px solid rgba(200,164,78,0.06);
}

.icp-item h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 0.5rem; }
.icp-item p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.6; }

/* ===== ABOUT PAGE ===== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-bottom: 4rem; }

.team-card {
  background: var(--dark-card); border-radius: 8px;
  padding: 2.5rem; border: 1px solid rgba(200,164,78,0.08);
}

.team-card-header { margin-bottom: 1.5rem; }

.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-deep), var(--gold-dim));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.5rem; color: var(--dark);
  margin-bottom: 1rem;
}

.team-card h3 {
  font-family: var(--font-heading); font-size: 1.4rem;
  color: var(--cream); font-weight: 400;
}

.team-card .team-title {
  font-size: 0.85rem; color: var(--gold); margin-top: 0.25rem;
}

.team-card p {
  color: var(--text-mid); font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 1rem;
}

.team-card .team-focus {
  font-size: 0.85rem; color: var(--gold-dim); font-style: italic;
}

.values-section { padding: 4rem 0; border-top: 1px solid rgba(200,164,78,0.08); }

.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }

.value-item { text-align: center; padding: 1.5rem 1rem; }

.value-item h4 {
  font-family: var(--font-heading); font-size: 1rem;
  color: var(--cream); margin-bottom: 0.5rem; font-weight: 400;
}

.value-item p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; }

/* ===== BLOG PAGE ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.blog-card {
  background: var(--dark-card); border-radius: 8px;
  border: 1px solid rgba(200,164,78,0.08);
  transition: all var(--transition); overflow: hidden;
}

.blog-card:hover {
  border-color: rgba(200,164,78,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--dark-surface), var(--dark-card));
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(200,164,78,0.08);
}

.blog-card-image .placeholder-icon {
  font-size: 2rem; opacity: 0.3;
}

.blog-card-body { padding: 1.5rem; }

.blog-card .blog-tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-family: var(--font-heading); font-size: 1.15rem;
  color: var(--cream); margin-bottom: 0.75rem; font-weight: 400; line-height: 1.4;
}

.blog-card p {
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card .blog-meta { font-size: 0.8rem; color: var(--gold-dim); font-family: var(--font-mono); }

/* ===== BLOG POST PAGE ===== */
.post-header { padding-top: 120px; padding-bottom: 3rem; max-width: 760px; }
.post-tag { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: block; }
.post-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; color: var(--cream); line-height: 1.25; margin-bottom: 1.25rem; }
.post-meta { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold-dim); margin-bottom: 2rem; }
.post-meta span { margin-right: 1.5rem; }
.post-divider { width: 48px; height: 2px; background: var(--gold); margin-bottom: 3rem; }
.post-body { max-width: 760px; }
.post-body p { font-size: 1.05rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 1.75rem; }
.post-body h2 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--cream); font-weight: 400; margin-top: 3rem; margin-bottom: 1rem; }
.post-body h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--cream); font-weight: 400; margin-top: 2rem; margin-bottom: 0.75rem; }
.post-body blockquote { border-left: 3px solid rgba(200,164,78,0.4); padding-left: 1.5rem; margin: 2rem 0; font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; color: var(--gold); }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.75rem; }
.post-body li { color: var(--text-mid); line-height: 1.8; margin-bottom: 0.5rem; font-size: 1.05rem; }
.post-body li::marker { color: var(--gold-dim); }
.post-body strong { color: var(--cream); font-weight: 600; }
.post-footer { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(200,164,78,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.post-footer-back { font-family: var(--font-mono); font-size: 0.85rem; color: var(--gold-dim); }
.post-footer-back:hover { color: var(--gold); }

.blog-empty {
  text-align: center; padding: 4rem 2rem;
  border: 1px dashed rgba(200,164,78,0.15); border-radius: 8px;
  margin-top: 3rem;
}

.blog-empty p { color: var(--text-mid); font-size: 1rem; margin-bottom: 1rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-group label {
  display: block; font-size: 0.85rem; color: var(--gold-dim);
  letter-spacing: 0.05em; margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--dark-card);
  border: 1px solid rgba(200,164,78,0.15); border-radius: 4px;
  padding: 0.85rem 1rem; color: var(--text-light);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--gold);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group select option { background: var(--dark-card); }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-block {
  padding: 2rem; background: var(--dark-card); border-radius: 8px;
  border: 1px solid rgba(200,164,78,0.08);
}

.contact-block h3 {
  font-family: var(--font-heading); font-size: 1.15rem;
  color: var(--cream); margin-bottom: 1rem; font-weight: 400;
}

.contact-block p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.7; }

.contact-block .contact-detail {
  margin-top: 0.75rem; font-size: 0.9rem;
}

.contact-block .contact-detail a { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(18, 18, 18, 0.98); padding: 2rem;
    border-bottom: 1px solid rgba(200,164,78,0.15);
  }
  .approach-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .phase-body { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .icp-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 4rem 0; }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ===== FONT-MONO TARGETED APPLICATIONS ===== */
.outcome-label { font-family: var(--font-mono); }
.service-duration { font-family: var(--font-mono); }
.service-badge { font-family: var(--font-mono); }
.phase-subtitle { font-family: var(--font-mono); letter-spacing: 0.05em; }
.service-includes h4 { font-family: var(--font-mono); }
.hero-tag { font-family: var(--font-mono); }
.page-header .section-tag { font-family: var(--font-mono); }
.footer-values { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.footer-brand { font-family: var(--font-heading); letter-spacing: 0.18em; }
