:root {
  --black: #050505;
  --ink: #161616;
  --muted: #5d5d5d;
  --line: #e5e1dd;
  --soft: #f6f4f1;
  --paper: #ffffff;
  --red: #c40000;
  --red-dark: #950000;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--red);
  color: var(--paper);
}

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

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

#portfolio,
#about,
#approach,
#founder,
#journal,
#contact {
  scroll-margin-top: 96px;
}

.site-header {
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 28px;
  grid-template-columns: 280px 1fr;
  min-height: 82px;
  padding: 16px 48px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand img {
  height: 46px;
  object-fit: contain;
  object-position: left center;
  width: 238px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 34px;
  justify-content: flex-end;
}

.site-nav a,
.button,
.company-copy a,
.company-copy span,
.contact-actions a {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  line-height: 1;
  padding: 10px 0;
}

.site-nav a:hover,
.company-copy a:hover,
.contact-actions a:hover {
  color: var(--red);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  justify-self: end;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: var(--black);
  display: block;
  height: 2px;
  margin: 8px auto;
  width: 24px;
}

.hero {
  isolation: isolate;
  min-height: 570px;
  overflow: hidden;
  padding: 72px 48px 98px;
  position: relative;
}

.hero::before {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 27%, rgba(255, 255, 255, 0.86) 39%, rgba(255, 255, 255, 0) 61%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero-media {
  bottom: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: min(70vw, 980px);
  z-index: -2;
}

.hero-media img {
  filter: contrast(1.02);
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.side-rail {
  align-items: center;
  display: flex;
  flex-direction: column;
  left: 48px;
  position: absolute;
  top: 72px;
}

.side-rail span {
  background: var(--red);
  height: 286px;
  width: 1px;
}

.hero-copy {
  margin-left: 132px;
  max-width: 480px;
  padding-top: 18px;
}

.eyebrow,
.company-status,
.operating-model span,
.journal-list span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.02;
}

h1 {
  font-size: 4.65rem;
  margin-bottom: 24px;
  max-width: 520px;
}

h1 span {
  display: block;
}

.accent {
  color: var(--red);
}

h2 {
  font-size: 3.2rem;
  margin-bottom: 0;
}

h3 {
  color: var(--black);
  font-size: 1.6rem;
  line-height: 1.2;
}

.hero-text {
  color: #2d2d2d;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 390px;
}

.hero-actions {
  display: flex;
}

.button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
}

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

.button.primary:hover {
  background: var(--red-dark);
}

.portfolio-preview {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: -58px auto 0;
  max-width: var(--max);
  position: relative;
  z-index: 3;
}

.section-kicker {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.preview-card {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 160px;
  padding: 34px 42px;
}

.preview-card + .preview-card {
  border-left: 1px solid var(--line);
}

.preview-card img {
  height: 78px;
  object-fit: contain;
  width: 96px;
}

.preview-card h3 {
  font-size: 2.45rem;
  line-height: 1;
  margin-bottom: 9px;
}

.preview-card p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.preview-card a,
.preview-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-section,
.portfolio-section,
.journal-section,
.contact-section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 96px 48px;
}

.intro-section,
.split-section,
.contact-section {
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1fr);
}

.section-heading {
  max-width: 620px;
}

.intro-copy,
.section-copy {
  color: #343434;
  font-size: 1.08rem;
  line-height: 1.75;
}

.intro-copy p,
.section-copy p {
  margin-bottom: 22px;
}

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

.operating-model {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.operating-model article {
  min-height: 270px;
  padding: 50px 48px;
}

.operating-model article + article {
  border-left: 1px solid var(--line);
}

.operating-model h3 {
  margin-bottom: 18px;
}

.operating-model p,
.journal-list p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.portfolio-section {
  max-width: 1260px;
}

.portfolio-section .section-heading {
  margin-bottom: 42px;
  max-width: 740px;
}

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

.company-row {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(220px, 0.42fr) minmax(360px, 1fr);
  min-height: 320px;
  padding: 42px 0;
}

.company-row + .company-row {
  border-top: 1px solid var(--line);
}

.company-logo {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  height: 230px;
  justify-content: center;
  padding: 32px;
}

.company-logo img {
  max-height: 170px;
  object-fit: contain;
  width: 100%;
}

.company-copy {
  max-width: 620px;
}

.company-copy h3 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.company-copy p:not(.company-status) {
  color: #343434;
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.company-copy a,
.company-copy span {
  color: var(--red);
}

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

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

.journal-list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journal-list article {
  border: 1px solid var(--line);
  min-height: 220px;
  padding: 30px;
}

.journal-list h3 {
  margin-bottom: 16px;
}

.contact-section {
  align-items: end;
  border-top: 1px solid var(--line);
}

.contact-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.contact-actions a {
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  padding-bottom: 10px;
}

.site-footer {
  align-items: center;
  background: var(--black);
  color: var(--paper);
  display: grid;
  gap: 26px;
  grid-template-columns: 220px 1fr auto;
  padding: 28px 48px;
}

.footer-brand img {
  background: var(--paper);
  height: 54px;
  object-fit: contain;
  object-position: left center;
  padding: 7px 9px;
  width: 214px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.site-footer a,
.site-footer p {
  color: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: #ff4646;
}

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

  .brand img {
    width: 214px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
  }

  .site-header.nav-open .site-nav {
    align-items: flex-start;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 16px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 0 22px 70px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 48%, #ffffff 100%);
  }

  .hero-media {
    height: 280px;
    margin: 0 -22px 28px;
    order: -1;
    position: relative;
    width: calc(100% + 44px);
    z-index: 0;
  }

  .hero-copy {
    margin-left: 0;
    max-width: 640px;
    padding-top: 0;
    position: relative;
    z-index: 2;
  }

  .side-rail {
    display: none;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-text,
  .intro-copy,
  .section-copy,
  .company-copy p:not(.company-status) {
    font-size: 1rem;
  }

  .portfolio-preview,
  .intro-section,
  .split-section,
  .operating-model,
  .company-row,
  .journal-list,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .portfolio-preview {
    margin: -42px 22px 0;
  }

  .preview-card {
    padding: 30px 24px;
  }

  .preview-card + .preview-card,
  .operating-model article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .content-section,
  .portfolio-section,
  .journal-section,
  .contact-section {
    padding: 72px 22px;
  }

  .intro-section,
  .split-section,
  .contact-section {
    gap: 34px;
  }

  .operating-model article {
    min-height: auto;
    padding: 38px 22px;
  }

  .company-row {
    gap: 28px;
    min-height: auto;
  }

  .company-logo {
    height: 220px;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 76px;
    padding: 14px 18px;
  }

  .brand img {
    height: 40px;
    width: 190px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-media {
    height: 190px;
    margin-left: -18px;
    margin-right: -18px;
    width: calc(100% + 36px);
  }

  h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2.18rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .portfolio-preview {
    margin-left: 18px;
    margin-right: 18px;
  }

  .preview-card {
    gap: 18px;
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 24px 20px;
  }

  .preview-card img {
    height: 64px;
    width: 72px;
  }

  .preview-card h3 {
    font-size: 1.65rem;
  }

  .content-section,
  .portfolio-section,
  .journal-section,
  .contact-section {
    padding: 62px 18px;
  }

  .company-logo {
    height: 190px;
    padding: 26px;
  }

  .company-logo img {
    max-height: 136px;
  }

  .company-copy h3 {
    font-size: 2.1rem;
  }

  .journal-list article {
    min-height: auto;
    padding: 26px;
  }

  .site-footer {
    padding: 28px 18px;
  }
}
