:root {
  --ink: #0c0c0c;
  --muted: #595959;
  --line: #111111;
  --soft-line: #dddddd;
  --paper: #ffffff;
  --paper-soft: #f7f7f7;
  --accent: #d71914;
  --font: "Poppins", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 30px 0 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 76px;
  font-size: 1.08rem;
  font-weight: 500;
}

.nav a {
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-color: currentColor;
}

.menu-button {
  display: none;
  width: 44px;
  height: 38px;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 1px;
  margin: 7px auto;
  background: var(--ink);
}

.hero {
  width: 100%;
}

.hero-content {
  width: min(1050px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 68px;
  text-align: center;
}

.eyebrow,
.section-kicker,
.work-card span,
.pillar-list span,
.blog-card p,
.case-grid span,
.harness-proof span {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 22px auto 0;
  font-size: 3.05rem;
  font-weight: 400;
  line-height: 1.25;
}

.hero-statement {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--muted);
}

.hero-actions,
.connect-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 500;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button.secondary.dark {
  background: white;
}

.portrait-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #111;
}

.portrait-hero img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(22%) contrast(0.9) brightness(0.72);
}

.portrait-copy {
  position: absolute;
  top: 18%;
  left: max(48px, calc((100% - 1120px) / 2));
  width: min(360px, calc(100% - 72px));
  color: white;
}

.portrait-copy h2 {
  margin: 0 0 26px;
  font-size: 1.08rem;
  font-weight: 400;
  text-transform: uppercase;
}

.portrait-copy p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 300;
}

.profile-band,
.section,
.connect-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.profile-band {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 80px;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--soft-line);
}

.profile-band h2,
.section-heading h2,
.connect-section h2 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.profile-copy p,
.feature-case p,
.work-card p,
.pillar-list p,
.blog-card span,
.connect-panel p,
.post-body p,
.post-body li {
  color: var(--muted);
  font-weight: 300;
}

.profile-copy p:first-child {
  margin-top: 0;
}

.section {
  padding: 72px 0;
}

.compact-section {
  padding-top: 56px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.pillar-list {
  border-top: 1px solid var(--line);
}

.pillar-list article {
  display: grid;
  grid-template-columns: 92px minmax(260px, 0.55fr) 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--soft-line);
  align-items: start;
}

.pillar-list h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 500;
}

.pillar-list p {
  margin: 0;
}

.feature-case {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.feature-case h3 {
  max-width: 800px;
  margin: 18px 0 18px;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.22;
}

.case-grid,
.work-grid,
.blog-preview-grid,
.blog-grid,
.harness-proof {
  display: grid;
  gap: 20px;
}

.case-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 28px;
}

.case-grid div,
.harness-proof div,
.work-card,
.blog-card,
.connect-panel {
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: white;
}

.case-grid div,
.harness-proof div {
  padding: 28px 24px;
}

.case-grid span,
.harness-proof span {
  display: block;
  margin-bottom: 18px;
}

.case-grid strong {
  display: block;
  margin: 0 0 12px;
  font-size: 1.02rem;
  font-weight: 600;
}

.case-grid p,
.harness-proof p {
  margin: 0;
  font-size: 0.95rem;
}

.text-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  font-weight: 500;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.harness-proof {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
}

.harness-proof h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  font-weight: 600;
}

.work-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.work-card {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.work-card h3,
.blog-card h3 {
  margin: 18px 0 14px;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.22;
}

.work-card p {
  margin-bottom: 0;
}

.work-card .text-link {
  margin-top: auto;
  padding-top: 24px;
  align-self: flex-start;
}

.quote-band {
  padding: 82px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  text-align: center;
}

.quote-band p {
  width: min(920px, 100%);
  margin: 0 auto;
  font-size: 2.15rem;
  font-weight: 300;
  line-height: 1.35;
}

.blog-preview-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  min-height: 220px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-post-card {
  border-color: var(--line);
}

.blog-card h3 a {
  border-bottom: 1px solid transparent;
}

.blog-card h3 a:hover {
  border-color: currentColor;
}

.post-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-hero-stats {
  justify-content: center;
  margin-top: 24px;
}

.heart-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.heart-button:hover,
.heart-button.hearted {
  color: var(--accent);
}

.heart-button:disabled {
  cursor: default;
}

.blog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.filter {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.filter.active,
.filter:hover {
  background: var(--ink);
  color: white;
}

.connect-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 70px;
  padding: 78px 0 90px;
  border-top: 1px solid var(--soft-line);
}

.connect-panel {
  padding: 34px;
}

.connect-panel p {
  margin-top: 0;
  font-size: 1.08rem;
}

.connect-actions {
  justify-content: flex-start;
}

.connect-actions .button {
  width: 52px;
  min-width: 52px;
  padding: 0;
}

.connect-actions .button svg {
  width: 21px;
  height: 21px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.post-hero {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0 42px;
  text-align: center;
}

.post-hero h1 {
  margin: 14px 0 18px;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.18;
}

.post-hero p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.16rem;
  font-weight: 300;
}

.post-body {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 10px 0 90px;
}

.post-body h2 {
  margin: 44px 0 12px;
  font-size: 1.65rem;
  font-weight: 500;
}

.post-body a {
  border-bottom: 1px solid currentColor;
}

.post-body strong {
  color: var(--ink);
  font-weight: 500;
}

.post-lesson {
  margin: 28px 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
}

.post-lesson p {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.55;
}

.post-lesson p + p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

.post-image {
  margin: 34px 0;
}

.post-image img {
  width: 100%;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
}

.post-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: block;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 0 8px;
  }

  .nav.open {
    display: flex;
  }

  .hero h1,
  .post-hero h1 {
    font-size: 2.35rem;
  }

  .profile-band,
  .connect-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case-grid,
  .harness-proof,
  .work-grid,
  .blog-preview-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .pillar-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading.split {
    display: block;
  }

  .section-heading.split .button {
    margin-top: 22px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .footer {
    width: min(100% - 32px, 1180px);
  }

  .brand {
    font-size: 1.05rem;
  }

  .hero-content,
  .profile-band,
  .section,
  .connect-section,
  .post-hero,
  .post-body {
    width: min(100% - 32px, 1120px);
  }

  .hero-content {
    padding: 42px 0 52px;
  }

  .hero h1,
  .profile-band h2,
  .section-heading h2,
  .connect-section h2,
  .post-hero h1 {
    font-size: 1.95rem;
  }

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

  .portrait-hero {
    min-height: 520px;
  }

  .portrait-hero img {
    height: 560px;
    object-position: 58% center;
  }

  .portrait-copy {
    top: 12%;
    left: 24px;
    width: calc(100% - 48px);
  }

  .button {
    width: 100%;
  }

  .feature-case {
    padding: 28px;
  }

  .feature-case h3,
  .quote-band p {
    font-size: 1.75rem;
  }

  .footer {
    display: block;
  }

  .footer a {
    display: inline-block;
    margin-top: 12px;
  }
}
