/* ============================================================
   Kinsma Corporation — Dark Heritage
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ---- Variables ---- */
:root {
  --bg:           #0d0b08;
  --bg-alt:       #131009;
  --bg-card:      #1a1710;
  --text:         #e8ddd0;
  --text-mid:     #b0a490;
  --text-muted:   #6e6252;
  --amber:        #9e7820;
  --amber-light:  #c49830;
  --border:       rgba(255, 255, 255, 0.07);
  --border-amber: rgba(158, 120, 32, 0.3);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(13, 11, 8, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
}
.logo {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.logo-k { color: var(--amber-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  color: var(--amber-light) !important;
  border: 1px solid var(--border-amber) !important;
  padding: 0.4rem 1rem;
  transition: background 0.2s, color 0.2s !important;
}
.btn-nav:hover {
  background: var(--amber) !important;
  color: #fff !important;
  border-color: var(--amber) !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
}

/* Image layer — true opacity control */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero.webp') center 40% / cover no-repeat,
              url('hero.jpg') center 40% / cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

/* Dark vignette on edges */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(13, 11, 8, 0.65) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 10rem 2rem 6rem;
  max-width: 760px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1.75rem;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber-light);
  opacity: 0.7;
}

.hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

/* ============================================================
   SHARED
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-light);
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 0.975rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 6rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.services-header { margin-bottom: 3.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--bg-alt);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.service-card:hover { background: var(--bg-card); }
.service-icon {
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  line-height: 1;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}
.about-text p {
  color: var(--text-mid);
  font-size: 0.975rem;
  line-height: 1.8;
  margin-top: 1.25rem;
}
.about-values {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.value {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.value-line {
  width: 18px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-left: 1px solid var(--border);
  padding-left: 4rem;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--amber-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 6rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.contact-text p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.75;
  margin-top: 1rem;
}
.contact-card {
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  padding: 2.5rem;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-item { display: flex; flex-direction: column; gap: 0.3rem; }
.contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-light);
  font-weight: 600;
}
.contact-item a, .contact-item span {
  font-size: 0.975rem;
  color: var(--text);
  font-weight: 500;
}
.contact-item a:hover { color: var(--amber-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text-muted);
}
.footer-logo .logo-k { color: var(--amber-light); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 2rem; flex-direction: row; flex-wrap: wrap; gap: 2rem; }
}
@media (max-width: 600px) {
  .nav-inner { padding: 0.9rem 1.25rem; }
  .nav-links { gap: 1.25rem; }
  .hero-inner { padding: 8rem 1.25rem 4rem; }
  .container { padding: 0 1.25rem; }
  .services, .about, .contact { padding: 4rem 0; }
  .services-grid { gap: 0; }
}
