/* ============================================================
   K630 Technology Strategy — stylesheet
   Tokens
   ============================================================ */

:root {
  /* Color */
  --ink:        #101826;   /* primary dark / hero overlay */
  --ink-soft:   #1B2634;   /* secondary dark surfaces */
  --paper:      #EDEFEA;   /* light section background, cool paper */
  --paper-high: #F7F8F5;   /* card surfaces on paper */
  --slate:      #55677A;   /* mountain blue-gray, secondary accent */
  --gold:       #C98B3C;   /* dusk-sky amber, primary accent */
  --gold-dim:   #A9723A;
  --text-dark:  #1B2430;
  --text-mute:  #55606C;
  --text-on-ink:      #F3F1EA;
  --text-on-ink-mute: #AEB7C2;

  /* Type */
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-serif:   'Newsreader', Georgia, serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --edge: clamp(1.5rem, 5vw, 5rem);
  --max: 1180px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9em;
}

.eyebrow--gold  { color: var(--gold-dim); }
.eyebrow--paper { color: var(--text-on-ink-mute); }

/* ============================================================
   Header / wordmark
   ============================================================ */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: clamp(1.25rem, 3vw, 2rem) var(--edge) 0;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--text-on-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
}

.wordmark small {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.62em;
  letter-spacing: 0;
  color: var(--text-on-ink-mute);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(180deg, rgba(16,24,38,0.35) 0%, rgba(16,24,38,0.15) 38%, rgba(16,24,38,0.78) 100%),
    url('k630-web-23.png');
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-on-ink);
}

.hero-inner {
  width: 100%;
  padding: 8rem var(--edge) 4.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  max-width: 14ch;
}

.hero .lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--text-on-ink-mute);
  max-width: 34ch;
  margin: 0 0 2.2em;
}

.btn {
  display: inline-block;
  padding: 0.95em 1.7em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: var(--gold);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--text-on-ink);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-on-ink);
  border-color: rgba(243,241,234,0.5);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   Skyline divider — signature element
   ============================================================ */

.divider {
  display: block;
  width: 100%;
  height: auto;
}

.divider--on-ink   { color: var(--gold-dim); background: var(--ink); }
.divider--on-paper { color: var(--slate); background: var(--paper); }

.divider svg {
  display: block;
  width: 100%;
  height: 64px;
}

/* ============================================================
   Section rhythm
   ============================================================ */

section { position: relative; }

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--ink {
  background: var(--ink);
  color: var(--text-on-ink);
}

.section-head {
  max-width: 62ch;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

.section-head .dek {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-mute);
  margin-top: 0.6em;
}

.section--ink .section-head .dek { color: var(--text-on-ink-mute); }

/* ============================================================
   About / bio
   ============================================================ */

.about-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-grid p {
  color: var(--text-mute);
  font-size: 1.05rem;
  margin: 0 0 1.2em;
}

.about-grid p:last-of-type { margin-bottom: 0; }

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(27,36,48,0.12);
}

.stat-list li {
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(27,36,48,0.12);
}

.stat-list .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.3em;
}

.stat-list .label {
  font-size: 0.92rem;
  color: var(--text-mute);
}

/* ============================================================
   Services
   ============================================================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(243,241,234,0.14);
}

.service {
  background: var(--ink);
  padding: 2.2rem clamp(1.5rem, 3vw, 2.5rem);
}

.service h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 0.5em;
  color: var(--text-on-ink);
}

.service p {
  margin: 0;
  color: var(--text-on-ink-mute);
  font-size: 0.98rem;
}

/* ============================================================
   Track record — timeline
   ============================================================ */

.timeline {
  border-top: 1px solid rgba(27,36,48,0.12);
}

.tl-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(27,36,48,0.12);
}

.tl-row .yr {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-dim);
  letter-spacing: 0.02em;
  padding-top: 0.15em;
}

.tl-row h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 0.3em;
  color: var(--text-dark);
}

.tl-row p {
  margin: 0;
  color: var(--text-mute);
  font-size: 0.97rem;
  max-width: 58ch;
}

/* ============================================================
   Closing CTA
   ============================================================ */

.closing {
  text-align: center;
}

.closing .section-head {
  margin: 0 auto 2rem;
  text-align: center;
}

.closing .actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: var(--text-on-ink-mute);
  padding: 2rem var(--edge) 2.4rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  border-top: 1px solid rgba(243,241,234,0.12);
  padding-top: 1.4rem;
}

.footer-inner a {
  text-decoration: none;
  color: var(--text-on-ink-mute);
  transition: color 0.2s ease;
}

.footer-inner a:hover { color: var(--gold); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .hero { background-attachment: scroll; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
