:root {
  --ink: #141414;
  --muted: #62605c;
  --line: #e7e2da;
  --paper: #fbfaf7;
  --white: #ffffff;
  --sage: #dfe8df;
  --sage-dark: #5d7465;
  --stone: #ede7de;
  --accent: #b2312d;
  --shadow: 0 24px 80px rgba(20, 20, 20, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top right, rgba(223, 232, 223, 0.7), transparent 32rem), var(--paper);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-weight: 750;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 1.35rem;
  min-height: calc(100svh - 5rem);
  padding: 3rem 0 4rem;
  align-items: end;
}

.hero-copy {
  align-self: center;
  padding: 2rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.3rem, 7vw, 6.35rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-subhead {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.portrait-card {
  align-self: center;
  overflow: hidden;
  min-height: 34rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  background: var(--sage);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  object-position: 50% 32%;
}

.action-stack {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.05);
  font-weight: 740;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.action-link:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 116, 101, 0.44);
  background: var(--white);
}

.action-link.primary {
  border-color: transparent;
  background: var(--ink);
  color: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.2fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(4rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.text-stack {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.story-band {
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: 1.5rem;
  background: var(--ink);
  color: var(--white);
}

.story-band .eyebrow {
  color: #adc5b3;
}

.story-intro h2 {
  max-width: 13ch;
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.story-steps article {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.story-steps span {
  color: #adc5b3;
  font-weight: 800;
}

.story-steps h3 {
  margin: 1rem 0 0.65rem;
  font-size: 1.25rem;
}

.story-steps p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.proof-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.proof-card {
  min-height: 13rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
}

.proof-card strong {
  display: block;
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
}

.proof-card span {
  color: var(--muted);
  line-height: 1.5;
}

.work-list {
  display: grid;
  gap: 0.65rem;
}

.work-list a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 720;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  max-width: 42rem;
  margin: 0.75rem 0 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 750;
  white-space: nowrap;
}

.kw-logo {
  width: 12rem;
  height: auto;
}

.simple-hero {
  max-width: 58rem;
  padding: clamp(4rem, 11vw, 9rem) 0 clamp(3rem, 8vw, 6rem);
}

.simple-hero h1 {
  max-width: 12ch;
}

.simple-hero p {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.links-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: var(--paper);
}

.links-page {
  width: min(420px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  text-align: center;
}

.links-avatar {
  width: 7.25rem;
  height: 7.25rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  box-shadow: var(--shadow);
}

.links-page h1 {
  max-width: none;
  margin-bottom: 0.35rem;
  font-size: 2.15rem;
  line-height: 1.05;
}

.links-page p {
  margin-bottom: 1.35rem;
  color: var(--muted);
}

.links-stack {
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.links-logo {
  width: 9rem;
  margin: 1.8rem auto 0;
  opacity: 0.74;
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 1rem, 34rem);
    padding: 0.65rem 0;
  }

  .brand-mark {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.85rem;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .nav-links {
    gap: 0.55rem;
    font-size: 0.8rem;
  }

  main,
  .site-footer {
    width: min(100% - 1rem, 34rem);
  }

  .hero-shell {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 2.5rem 0 3.5rem;
  }

  .hero-copy {
    order: 1;
    padding: 0;
  }

  h1 {
    max-width: 9.2ch;
    margin-bottom: 1rem;
    font-size: clamp(2.95rem, 13.2vw, 4.85rem);
  }

  .hero-subhead {
    font-size: 1.05rem;
  }

  .portrait-card {
    order: 3;
    min-height: 22rem;
    margin: 1.6rem 0 0.8rem;
    border-radius: 1rem;
  }

  .portrait-card img {
    min-height: 22rem;
    object-position: 50% 26%;
  }

  .action-stack {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  .action-link {
    min-height: 4rem;
    border-radius: 0.9rem;
  }

  .section-grid,
  .proof-section,
  .story-steps {
    grid-template-columns: 1fr;
  }

  .section-grid {
    gap: 1rem;
    padding: 4rem 0;
  }

  h2 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  .story-band {
    padding: 2rem 1.2rem;
    border-radius: 1rem;
  }

  .story-steps {
    margin-top: 2rem;
  }

  .proof-section {
    padding: 3rem 0;
  }

  .proof-card {
    min-height: 0;
  }

  .simple-hero {
    padding: 4rem 0 3rem;
  }

  .simple-hero h1 {
    max-width: 10ch;
  }

  .site-footer {
    display: block;
    padding: 2.5rem 0;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 1rem;
  }

  .kw-logo {
    width: 10rem;
  }
}
