/* Kaziro Communications — base + design system (brand-aligned)
   Navy anchor #16355A · gradient accent #D82739→#EA591F · warm off-white paper
   Manrope (headings) · Noto Sans (body) */

:root {
  --navy:      #16355A;   /* main brand anchor */
  --navy-2:    #1C406B;   /* lifted navy for hover */
  --navy-deep: #102A47;   /* deeper navy for sections */
  --plum:      #3C1438;   /* secondary */
  --red:       #D82739;   /* highlight (gradient start) */
  --orange:    #EA591F;   /* gradient end */
  --paper:     #FAF7F1;   /* warm off-white page */
  --paper-2:   #F1EBE0;   /* slightly deeper warm */
  --white:     #FFFBFB;   /* brand page white */
  --ink:       #16355A;   /* primary text = navy */
  --ink-soft:  #41506A;   /* secondary text */
  --ink-mute:  #717C8E;   /* muted/captions */
  --rule:      #DED6C7;   /* warm hairline */
  --rule-cool: #CBD2DD;   /* cool hairline on light navy areas */
  --grad:      linear-gradient(115deg, #D82739 0%, #EA591F 100%);
  --serifless: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body:      "Noto Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.container-wide { max-width: 1360px; }

/* ---------------- Typography ---------------- */
h1, h2, h3, h4 {
  font-family: var(--serifless);
  color: var(--ink);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--serifless);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  display: inline-block;
}
.eyebrow.plain::before { display: none; }

.display {
  font-size: clamp(42px, 5.6vw, 82px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.section-title {
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.02em;
}
.lede {
  font-family: var(--body);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}
p { margin: 0 0 1.1em; text-wrap: pretty; }
.muted { color: var(--ink-mute); }
.accent-text { color: var(--orange); }

/* gradient text accent, used very sparingly */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serifless);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  text-decoration: none;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  border-radius: 2px;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn .arr { transition: transform .25s ease; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn:hover .arr { transform: translateX(4px); }

/* primary CTA carries the brand gradient highlight */
.btn-primary {
  position: relative;
  border: none;
  background: var(--navy);
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad);
}
.btn-primary { padding-left: 30px; }
.btn-primary:hover { background: var(--navy-2); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.mail-link {
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
  transition: color .2s ease;
  white-space: nowrap;
}
.mail-link:hover { color: var(--orange); }
.mail-link.light { color: #EAF0F7; border-color: var(--orange); }
.mail-link.light:hover { color: #fff; }

/* ---------------- Entrance ---------------- */
/* Content is always visible — reliable across all environments.
   (.reveal retained as a no-op hook for future progressive enhancement.) */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
