/* ============================================
   Kaam.com blog — chrome.css
   Tokens + typography + top strip + header +
   mobile drawer + footer + utility classes.

   Source of truth: ~/Development/kaam_cc/kaam-com-index.php
   (this file mirrors the chrome from the homepage so the blog
    reads as one brand family — never edit in isolation)
============================================ */

:root {
  --cream:       #FAF7F1;
  --cream-warm:  #F2E9D9;
  --paper:       #FFFFFF;
  --dark:        #0E0B07;
  --dark-2:      #1A130C;
  --ink:         #1A1A1A;
  --ink-soft:    #3A332A;
  --brass:       #B07515;
  --brass-deep:  #7C4E0F;
  --brass-light: #E8C97A;
  --line:        #E5DCC8;
  --line-soft:   #EFE9DB;
  --gray:        #8B8175;
  --gray-soft:   #B5ACA0;
  --rose:        #BE3A4B;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  font-feature-settings: "ss01", "cv11";
  word-wrap: break-word;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
a { text-decoration: none; color: inherit; }
::selection { background: var(--brass); color: var(--paper); }
img { max-width: 100%; display: block; }

/* ============================================
   TOP STRIP
============================================ */
.top-strip {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: rgba(14, 11, 7, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 201, 122, 0.16);
}
.top-strip-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.55rem clamp(1.25rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: rgba(250, 247, 241, 0.78);
}
.top-strip-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(232, 201, 122, 0.35);
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.top-strip-tag .pulse {
  width: 5px; height: 5px;
  background: var(--brass-light);
  border-radius: 50%;
  animation: phone-pulse 1.8s ease-in-out infinite;
}
@keyframes phone-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.top-strip-text {
  flex: 1;
  min-width: 0;
  letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-strip-text strong { color: var(--cream); font-weight: 500; }
.top-strip-link {
  color: var(--brass-light);
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, gap 0.2s ease;
}
.top-strip-link:hover { color: var(--cream); gap: 0.6rem; }
.top-strip-mobile { display: none; }
body.with-top-strip header#header { top: 40px; }
@media (max-width: 720px) {
  .top-strip-inner { padding: 0.55rem 5%; }
  .top-strip-tag, .top-strip-text, .top-strip-link { display: none; }
  .top-strip-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    justify-content: center;
    color: var(--brass-light);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.005em;
    transition: gap 0.2s ease, color 0.2s ease;
  }
  .top-strip-mobile:hover { gap: 0.65rem; color: var(--cream); }
  body.with-top-strip header#header { top: 36px; }
}

/* ============================================
   HEADER + NAV
============================================ */
header#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
header#header.scrolled {
  background: rgba(14, 11, 7, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(232, 220, 200, 0.08);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease;
}
header#header.scrolled .header-inner { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.logo-wrapper { display: flex; align-items: center; }
.logo {
  height: 72px;
  transition: height 0.3s ease;
}
header#header.scrolled .logo { height: 60px; }
@media (max-width: 880px) {
  .logo { height: 56px; }
  header#header.scrolled .logo { height: 48px; }
}
@media (max-width: 480px) {
  .logo { height: 48px; }
  header#header.scrolled .logo { height: 42px; }
}
nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(250, 247, 241, 0.7);
  letter-spacing: 0.005em;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--brass-light); }
.nav-links a.nav-signin {
  color: var(--brass-light);
  font-weight: 600;
}
.nav-links a.nav-signin:hover { color: var(--cream); }
.nav-cta {
  font-family: 'DM Sans', sans-serif;
  background: var(--brass-light);
  color: var(--dark);
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--paper); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 22px; height: 1.5px; background: var(--cream); border-radius: 2px; }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta { padding: 0.55rem 1rem; font-size: 0.8rem; }
}

/* ============================================
   MOBILE DRAWER
============================================ */
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(14, 11, 7, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--dark);
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 5rem 1.75rem 2rem;
  color: var(--cream);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: transparent; border: 0;
  color: rgba(250, 247, 241, 0.7);
  font-size: 1.25rem; cursor: pointer;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 2rem; }
.mobile-nav-links a {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cream);
  padding: 0.65rem 0;
  letter-spacing: -0.01em;
}
.mobile-nav-hospitality {
  color: var(--brass-light) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.95rem !important;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(232, 201, 122, 0.18);
  white-space: nowrap;
}
.mobile-nav-hospitality i { font-size: 0.85rem; transition: transform 0.2s ease; }
.mobile-nav-hospitality:hover i { transform: translateX(3px); }
.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brass-light);
  color: var(--dark);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  align-self: flex-start;
}

/* ============================================
   FOOTER
============================================ */
footer.kf-footer {
  background: var(--dark);
  color: rgba(250, 247, 241, 0.6);
  padding: 5rem 5% 2.5rem;
  position: relative;
}
.kf-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brass) 30%, var(--brass-light) 50%, var(--brass) 70%, transparent 100%);
}
.kf-inner { max-width: 1280px; margin: 0 auto; }
.kf-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(232, 201, 122, 0.12);
  margin-bottom: 2rem;
}
@media (max-width: 880px) { .kf-top { grid-template-columns: 1fr; gap: 2.5rem; } }
.kf-brand { max-width: 320px; }
.kf-logo { height: 36px; margin-bottom: 1.25rem; }
.kf-tagline {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(250, 247, 241, 0.7);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.kf-tagline strong { font-style: normal; color: var(--cream); font-weight: 500; }
.kf-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.kf-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 122, 0.22);
  color: rgba(250, 247, 241, 0.75);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.kf-badge:hover { border-color: var(--brass-light); color: var(--brass-light); }
.kf-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 640px) { .kf-links { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; } }
.kf-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.kf-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.kf-col li a {
  font-size: 0.9rem;
  color: rgba(250, 247, 241, 0.65);
  transition: color 0.2s ease;
}
.kf-col li a:hover { color: var(--cream); }
.kf-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(250, 247, 241, 0.45);
}
.kf-bottom a { color: inherit; transition: color 0.2s ease; }
.kf-bottom a:hover { color: var(--brass-light); }
.kf-social { display: flex; gap: 0.75rem; }
.kf-social a {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 122, 0.22);
  color: rgba(250, 247, 241, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.kf-social a:hover { border-color: var(--brass-light); color: var(--brass-light); background: rgba(232, 201, 122, 0.08); }
@media (max-width: 640px) {
  .kf-footer { padding: 3.5rem 5% 2rem; }
  .kf-top { gap: 2rem; padding-bottom: 2rem; margin-bottom: 1.5rem; }
  .kf-links { gap: 1.5rem 1.25rem; }
  .kf-col h4 { margin-bottom: 0.65rem; }
  .kf-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ============================================
   UTILITIES
============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--brass); }

.show-mobile { display: none; }
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block; }
  span.show-mobile, .show-mobile.inline { display: inline; }
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
