/* Kovalik Digital corporate hub */
/* Warm Craftsman design system, corporate variation */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Nunito+Sans:wght@400;500;600;700&display=swap');

:root {
  --cream: #F2EAD9;
  --cream-deep: #E8DCC4;
  --charcoal: #251F1A;
  --charcoal-soft: #3E332A;
  --terracotta: #C8593C;
  --sage: #94A892;
  --hairline: rgba(37, 31, 26, 0.12);
  --hairline-strong: rgba(37, 31, 26, 0.22);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --content-max: 720px;
  --wide-max: 960px;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  margin-bottom: var(--space-3);
}

h2 {
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 500;
  margin-bottom: var(--space-3);
  margin-top: var(--space-5);
}

h3 {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  margin-top: var(--space-4);
  line-height: 1.3;
}

h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--terracotta);
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-3);
  max-width: 64ch;
}

p.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--charcoal-soft);
  max-width: 56ch;
}

a {
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s, color 0.2s;
}

a:hover { text-decoration-color: var(--charcoal); }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.container--wide { max-width: var(--wide-max); }

.site-header {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  z-index: 3;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo__mark {
  width: 38px;
  height: 38px;
  background: var(--charcoal);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-logo__mark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terracotta);
}

.site-logo__mark-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream);
  font-size: 1.0625rem;
  letter-spacing: -0.04em;
}

.site-logo__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--charcoal);
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--charcoal-soft);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.hero {
  padding: var(--space-7) 0 var(--space-5);
  position: relative;
  z-index: 2;
}

.hero h1 { max-width: 18ch; }

.hero p.lead { margin-bottom: var(--space-4); }

.cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 6px;
  transition: border-color 0.2s, color 0.2s;
}

.cta:hover {
  border-color: var(--charcoal);
}

.section {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--hairline);
  position: relative;
  z-index: 2;
}

.section > .container > h2:first-child,
.section > .container > .eyebrow + h2 { margin-top: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  margin-bottom: var(--space-2);
}

.property {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--hairline);
}

.property:first-of-type {
  border-top: none;
  padding-top: var(--space-3);
}

.property h3 {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
}

.property__url {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--charcoal-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.property__url::before {
  content: '·';
  margin-right: 0.5rem;
  color: var(--terracotta);
}

.property__url:hover { color: var(--terracotta); }

.facts {
  margin: var(--space-3) 0 var(--space-4);
  border-top: 1px solid var(--hairline-strong);
  border-bottom: 1px solid var(--hairline-strong);
}

.facts dl {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  gap: 0;
}

.facts dt,
.facts dd {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--hairline);
}

.facts dl > div:last-child dt,
.facts dl > div:last-child dd { border-bottom: none; }

.facts dt {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal-soft);
  padding-right: var(--space-3);
}

.facts dd { font-size: 1rem; }

.principle {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--hairline);
}

.principle:first-of-type { border-top: none; }

.principle h3 { margin-top: 0; }

.denial {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--charcoal);
  border-left: 3px solid var(--terracotta);
  padding-left: var(--space-3);
  margin: var(--space-3) 0;
  max-width: 48ch;
}

.headshot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-deep);
  margin-bottom: var(--space-3);
  display: block;
}

@media (max-width: 720px) {
  .headshot { width: 160px; height: 160px; }
}

.bio-meta {
  font-size: 0.9375rem;
  color: var(--charcoal-soft);
  margin-bottom: var(--space-3);
}

.bio-meta strong {
  color: var(--charcoal);
  font-weight: 600;
}

.kit-list {
  list-style: none;
  margin: var(--space-3) 0;
}

.kit-list li {
  padding: var(--space-2) 0;
  border-top: 1px solid var(--hairline);
}

.kit-list li:last-child { border-bottom: 1px solid var(--hairline); }

.kit-list strong {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.kit-list small {
  font-size: 0.8125rem;
  color: var(--charcoal-soft);
}

.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 0;
  margin-top: var(--space-7);
  position: relative;
  z-index: 2;
}

.site-footer__rule {
  height: 4px;
  background: var(--terracotta);
}

.site-footer__inner {
  padding: var(--space-5) 0 var(--space-3);
  max-width: var(--wide-max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-footer a {
  color: var(--cream);
  text-decoration-color: var(--terracotta);
}

.site-footer a:hover { text-decoration-color: var(--cream); }

.site-footer h4 { color: var(--terracotta); }

.site-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  margin-bottom: var(--space-2);
  color: var(--cream);
}

.site-footer__tagline {
  font-size: 0.9375rem;
  color: var(--cream-deep);
  max-width: 32ch;
  line-height: 1.55;
}

.site-footer ul { list-style: none; }

.site-footer ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(242, 234, 217, 0.15);
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--cream-deep);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  .site-nav { flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
  .hero { padding: var(--space-5) 0 var(--space-4); }
  .section { padding: var(--space-5) 0; }
  .site-footer__cols { grid-template-columns: 1fr; gap: var(--space-4); }
  .facts dl { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: none; padding-top: var(--space-2); }
  .facts dd { padding-top: 0; }
  .site-footer__bottom { flex-direction: column; gap: 0.5rem; }
}

@media print {
  body::before { display: none; }
  .site-header, .site-nav, .site-footer { display: none; }
}
