:root {
  --ink: #161819;
  --muted: #5f686b;
  --paper: #f5f1ea;
  --paper-strong: #fffaf2;
  --charcoal: #111315;
  --charcoal-soft: #202424;
  --teal: #0f766e;
  --gold: #b98b2f;
  --rust: #a5462a;
  --line: rgba(22, 24, 25, 0.14);
  --line-light: rgba(255, 250, 242, 0.22);
  --max: 1120px;
  --hero-max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1.2rem, calc((100vw - var(--hero-max)) / 2));
  color: var(--paper-strong);
  background: linear-gradient(180deg, rgba(17, 19, 21, 0.78), rgba(17, 19, 21, 0));
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(190px, 17vw, 252px);
  height: auto;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.site-nav a {
  padding: 0.55rem 0.75rem;
  color: rgba(255, 250, 242, 0.82);
  text-decoration: none;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper-strong);
  background: var(--charcoal);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("assets/kris-boehm-headshot.jpeg");
  background-size: cover;
  background-position: 58% 43%;
  filter: saturate(0.72) contrast(1.02);
  opacity: 0.82;
  transform: scale(1.04);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.94) 0%, rgba(17, 19, 21, 0.72) 34%, rgba(17, 19, 21, 0.42) 64%, rgba(17, 19, 21, 0.88) 100%),
    linear-gradient(180deg, rgba(17, 19, 21, 0.34) 0%, rgba(17, 19, 21, 0.28) 34%, rgba(17, 19, 21, 0.9) 100%);
}

.hero__content {
  position: relative;
  width: min(calc(100% - 2.4rem), var(--hero-max));
  margin: 0 auto;
  padding: 8.5rem 0 1.55rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 1.25rem;
  font-size: clamp(3.2rem, 5.5vw, 5.4rem);
}

h2 {
  max-width: 820px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero__lead {
  max-width: 600px;
  color: rgba(255, 250, 242, 0.82);
  font-size: clamp(1.08rem, 1.65vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 0.8rem 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  color: var(--charcoal);
  background: var(--paper-strong);
}

.button--secondary {
  color: var(--paper-strong);
  background: rgba(255, 250, 242, 0.08);
}

.section {
  width: min(calc(100% - 2.4rem), var(--max));
  margin: 0 auto;
  padding: 5.4rem 0;
}

.section--intro {
  padding-top: 4.3rem;
}

.section__header {
  max-width: 860px;
}

.intro-grid,
.contact-grid {
  display: grid;
  gap: 1px;
  margin-top: 2.2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.intro-grid article,
.contact-grid a {
  min-height: 220px;
  padding: 1.45rem;
  background: var(--paper-strong);
}

.intro-grid p {
  margin-bottom: 0;
}

.section--band {
  width: 100%;
  max-width: none;
  padding: 5.6rem max(1.2rem, calc((100vw - var(--max)) / 2));
  color: var(--paper-strong);
  background: var(--charcoal);
}

.section--band p {
  color: rgba(255, 250, 242, 0.74);
}

.framework-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-light);
}

.framework-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.text-link {
  color: var(--paper-strong);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
  white-space: nowrap;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 3rem;
}

.copy {
  padding-top: 0.4rem;
}

.copy p:last-child {
  margin-bottom: 0;
}

.section--focus {
  border-top: 1px solid var(--line);
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.focus-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  color: var(--charcoal-soft);
  background: rgba(255, 250, 242, 0.62);
  font-weight: 750;
}

.section--contact {
  padding-bottom: 4.2rem;
}

.contact-grid a {
  display: grid;
  align-content: end;
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-grid a:hover,
.contact-grid a:focus-visible {
  background: #ffffff;
}

.contact-grid span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-weight: 850;
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2.4rem), var(--max));
  margin: 0 auto;
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand img {
  display: block;
  width: clamp(170px, 18vw, 230px);
  height: auto;
}

.site-footer p {
  margin: 0;
  font-size: 0.94rem;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .brand img {
    width: clamp(148px, 36vw, 210px);
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .site-nav a {
    padding: 0.38rem 0.45rem;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 100svh;
    align-items: start;
  }

  .hero__media {
    background-size: auto 118%;
    background-position: 58% 100%;
    opacity: 0.66;
    filter: saturate(0.7) contrast(0.98);
    transform: none;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(17, 19, 21, 0.28) 0%, rgba(17, 19, 21, 0.58) 34%, rgba(17, 19, 21, 0.96) 100%),
      linear-gradient(90deg, rgba(17, 19, 21, 0.82), rgba(17, 19, 21, 0.36));
  }

  .hero__content {
    padding: 12rem 0 2rem;
  }

  .intro-grid,
  .contact-grid,
  .framework-panel,
  .split {
    grid-template-columns: 1fr;
  }

  .intro-grid article,
  .contact-grid a {
    min-height: auto;
  }

  .framework-panel {
    align-items: start;
  }

  .text-link {
    white-space: normal;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .site-header {
    display: grid;
  }

  .brand img {
    width: 176px;
  }

  h1 {
    font-size: clamp(1.85rem, 9.4vw, 2.45rem);
    overflow-wrap: anywhere;
  }

  .hero__content {
    padding-top: 11.4rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .section {
    padding: 4rem 0;
  }

  .hero__content,
  .section,
  .site-footer {
    width: min(calc(100% - 1.5rem), var(--max));
  }
}
